NODEDC_BIM_VIEWER/docs/ast/source/collision/ObjectsKdTree3.js.json

27721 lines
733 KiB
JSON

{
"type": "File",
"start": 0,
"end": 3718,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 129,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 3718,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 129,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 62,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 62
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 8,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 12
}
},
"imported": {
"type": "Identifier",
"start": 8,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 12
},
"identifierName": "math"
},
"name": "math"
},
"local": {
"type": "Identifier",
"start": 8,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 12
},
"identifierName": "math"
},
"name": "math"
}
}
],
"source": {
"type": "StringLiteral",
"start": 19,
"end": 61,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 61
}
},
"extra": {
"rawValue": "@xeokit/xeokit-sdk/dist/xeokit-sdk.es.js",
"raw": "\"@xeokit/xeokit-sdk/dist/xeokit-sdk.es.js\""
},
"value": "@xeokit/xeokit-sdk/dist/xeokit-sdk.es.js"
}
},
{
"type": "VariableDeclaration",
"start": 64,
"end": 93,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 29
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 70,
"end": 92,
"loc": {
"start": {
"line": 3,
"column": 6
},
"end": {
"line": 3,
"column": 28
}
},
"id": {
"type": "Identifier",
"start": 70,
"end": 87,
"loc": {
"start": {
"line": 3,
"column": 6
},
"end": {
"line": 3,
"column": 23
},
"identifierName": "MAX_KD_TREE_DEPTH"
},
"name": "MAX_KD_TREE_DEPTH"
},
"init": {
"type": "NumericLiteral",
"start": 90,
"end": 92,
"loc": {
"start": {
"line": 3,
"column": 26
},
"end": {
"line": 3,
"column": 28
}
},
"extra": {
"rawValue": 15,
"raw": "15"
},
"value": 15
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Increase if greater precision needed",
"start": 94,
"end": 133,
"loc": {
"start": {
"line": 3,
"column": 30
},
"end": {
"line": 3,
"column": 69
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 134,
"end": 178,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 140,
"end": 177,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 140,
"end": 155,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 21
},
"identifierName": "kdTreeDimLength"
},
"name": "kdTreeDimLength",
"leadingComments": null
},
"init": {
"type": "NewExpression",
"start": 158,
"end": 177,
"loc": {
"start": {
"line": 4,
"column": 24
},
"end": {
"line": 4,
"column": 43
}
},
"callee": {
"type": "Identifier",
"start": 162,
"end": 174,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 40
},
"identifierName": "Float32Array"
},
"name": "Float32Array"
},
"arguments": [
{
"type": "NumericLiteral",
"start": 175,
"end": 176,
"loc": {
"start": {
"line": 4,
"column": 41
},
"end": {
"line": 4,
"column": 42
}
},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Increase if greater precision needed",
"start": 94,
"end": 133,
"loc": {
"start": {
"line": 3,
"column": 30
},
"end": {
"line": 3,
"column": 69
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * A k-d tree for World-space 3D Entity collision detection with AABBs and frustums.\n ",
"start": 180,
"end": 272,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 8,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 273,
"end": 3717,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 128,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 280,
"end": 3717,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 128,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 286,
"end": 300,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 27
},
"identifierName": "ObjectsKdTree3"
},
"name": "ObjectsKdTree3",
"leadingComments": null
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 301,
"end": 3717,
"loc": {
"start": {
"line": 9,
"column": 28
},
"end": {
"line": 128,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 308,
"end": 934,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 34,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 308,
"end": 319,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 320,
"end": 323,
"loc": {
"start": {
"line": 11,
"column": 16
},
"end": {
"line": 11,
"column": 19
},
"identifierName": "cfg"
},
"name": "cfg"
}
],
"body": {
"type": "BlockStatement",
"start": 325,
"end": 934,
"loc": {
"start": {
"line": 11,
"column": 21
},
"end": {
"line": 34,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 336,
"end": 402,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 15,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 340,
"end": 344,
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 16
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 341,
"end": 344,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 346,
"end": 402,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 15,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 360,
"end": 392,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 44
}
},
"argument": {
"type": "StringLiteral",
"start": 366,
"end": 391,
"loc": {
"start": {
"line": 14,
"column": 18
},
"end": {
"line": 14,
"column": 43
}
},
"extra": {
"rawValue": "Parameter expected: cfg",
"raw": "\"Parameter expected: cfg\""
},
"value": "Parameter expected: cfg"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 412,
"end": 492,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 19,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 416,
"end": 427,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 23
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 417,
"end": 427,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 417,
"end": 420,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 421,
"end": 427,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 23
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 429,
"end": 492,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 19,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 443,
"end": 482,
"loc": {
"start": {
"line": 18,
"column": 12
},
"end": {
"line": 18,
"column": 51
}
},
"argument": {
"type": "StringLiteral",
"start": 449,
"end": 481,
"loc": {
"start": {
"line": 18,
"column": 18
},
"end": {
"line": 18,
"column": 50
}
},
"extra": {
"rawValue": "Parameter expected: cfg.viewer",
"raw": "\"Parameter expected: cfg.viewer\""
},
"value": "Parameter expected: cfg.viewer"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 502,
"end": 527,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 33
}
},
"expression": {
"type": "AssignmentExpression",
"start": 502,
"end": 526,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 32
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 502,
"end": 513,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 502,
"end": 506,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 507,
"end": 513,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 19
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 516,
"end": 526,
"loc": {
"start": {
"line": 21,
"column": 22
},
"end": {
"line": 21,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 516,
"end": 519,
"loc": {
"start": {
"line": 21,
"column": 22
},
"end": {
"line": 21,
"column": 25
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 520,
"end": 526,
"loc": {
"start": {
"line": 21,
"column": 26
},
"end": {
"line": 21,
"column": 32
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 537,
"end": 596,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 67
}
},
"expression": {
"type": "AssignmentExpression",
"start": 537,
"end": 595,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 66
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 537,
"end": 555,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 537,
"end": 541,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 542,
"end": 555,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 26
},
"identifierName": "_maxTreeDepth"
},
"name": "_maxTreeDepth"
},
"computed": false
},
"right": {
"type": "LogicalExpression",
"start": 558,
"end": 595,
"loc": {
"start": {
"line": 23,
"column": 29
},
"end": {
"line": 23,
"column": 66
}
},
"left": {
"type": "MemberExpression",
"start": 558,
"end": 574,
"loc": {
"start": {
"line": 23,
"column": 29
},
"end": {
"line": 23,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 558,
"end": 561,
"loc": {
"start": {
"line": 23,
"column": 29
},
"end": {
"line": 23,
"column": 32
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 562,
"end": 574,
"loc": {
"start": {
"line": 23,
"column": 33
},
"end": {
"line": 23,
"column": 45
},
"identifierName": "maxTreeDepth"
},
"name": "maxTreeDepth"
},
"computed": false
},
"operator": "||",
"right": {
"type": "Identifier",
"start": 578,
"end": 595,
"loc": {
"start": {
"line": 23,
"column": 49
},
"end": {
"line": 23,
"column": 66
},
"identifierName": "MAX_KD_TREE_DEPTH"
},
"name": "MAX_KD_TREE_DEPTH"
}
}
}
},
{
"type": "ExpressionStatement",
"start": 605,
"end": 623,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 26
}
},
"expression": {
"type": "AssignmentExpression",
"start": 605,
"end": 622,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 605,
"end": 615,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 605,
"end": 609,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 610,
"end": 615,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 18
},
"identifierName": "_root"
},
"name": "_root"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 618,
"end": 622,
"loc": {
"start": {
"line": 24,
"column": 21
},
"end": {
"line": 24,
"column": 25
}
}
}
}
},
{
"type": "ExpressionStatement",
"start": 632,
"end": 658,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 34
}
},
"expression": {
"type": "AssignmentExpression",
"start": 632,
"end": 657,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 33
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 632,
"end": 650,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 632,
"end": 636,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 637,
"end": 650,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 26
},
"identifierName": "_needsRebuild"
},
"name": "_needsRebuild"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 653,
"end": 657,
"loc": {
"start": {
"line": 25,
"column": 29
},
"end": {
"line": 25,
"column": 33
}
},
"value": true
}
}
},
{
"type": "ExpressionStatement",
"start": 668,
"end": 791,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 29,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 668,
"end": 790,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 29,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 668,
"end": 687,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 668,
"end": 672,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 673,
"end": 687,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 27
},
"identifierName": "_onModelLoaded"
},
"name": "_onModelLoaded"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 690,
"end": 790,
"loc": {
"start": {
"line": 27,
"column": 30
},
"end": {
"line": 29,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 690,
"end": 710,
"loc": {
"start": {
"line": 27,
"column": 30
},
"end": {
"line": 27,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 690,
"end": 707,
"loc": {
"start": {
"line": 27,
"column": 30
},
"end": {
"line": 27,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 690,
"end": 701,
"loc": {
"start": {
"line": 27,
"column": 30
},
"end": {
"line": 27,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 690,
"end": 694,
"loc": {
"start": {
"line": 27,
"column": 30
},
"end": {
"line": 27,
"column": 34
}
}
},
"property": {
"type": "Identifier",
"start": 695,
"end": 701,
"loc": {
"start": {
"line": 27,
"column": 35
},
"end": {
"line": 27,
"column": 41
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 702,
"end": 707,
"loc": {
"start": {
"line": 27,
"column": 42
},
"end": {
"line": 27,
"column": 47
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 708,
"end": 710,
"loc": {
"start": {
"line": 27,
"column": 48
},
"end": {
"line": 27,
"column": 50
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 711,
"end": 724,
"loc": {
"start": {
"line": 27,
"column": 51
},
"end": {
"line": 27,
"column": 64
}
},
"extra": {
"rawValue": "modelLoaded",
"raw": "\"modelLoaded\""
},
"value": "modelLoaded"
},
{
"type": "ArrowFunctionExpression",
"start": 726,
"end": 789,
"loc": {
"start": {
"line": 27,
"column": 66
},
"end": {
"line": 29,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 727,
"end": 734,
"loc": {
"start": {
"line": 27,
"column": 67
},
"end": {
"line": 27,
"column": 74
},
"identifierName": "modelId"
},
"name": "modelId"
}
],
"body": {
"type": "BlockStatement",
"start": 739,
"end": 789,
"loc": {
"start": {
"line": 27,
"column": 79
},
"end": {
"line": 29,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 753,
"end": 779,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 753,
"end": 778,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 753,
"end": 771,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 753,
"end": 757,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 758,
"end": 771,
"loc": {
"start": {
"line": 28,
"column": 17
},
"end": {
"line": 28,
"column": 30
},
"identifierName": "_needsRebuild"
},
"name": "_needsRebuild"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 774,
"end": 778,
"loc": {
"start": {
"line": 28,
"column": 33
},
"end": {
"line": 28,
"column": 37
}
},
"value": true
}
}
}
],
"directives": []
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 801,
"end": 928,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 33,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 801,
"end": 927,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 33,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 801,
"end": 822,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 801,
"end": 805,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 806,
"end": 822,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 29
},
"identifierName": "_onModelUnloaded"
},
"name": "_onModelUnloaded"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 825,
"end": 927,
"loc": {
"start": {
"line": 31,
"column": 32
},
"end": {
"line": 33,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 825,
"end": 845,
"loc": {
"start": {
"line": 31,
"column": 32
},
"end": {
"line": 31,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 825,
"end": 842,
"loc": {
"start": {
"line": 31,
"column": 32
},
"end": {
"line": 31,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 825,
"end": 836,
"loc": {
"start": {
"line": 31,
"column": 32
},
"end": {
"line": 31,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 825,
"end": 829,
"loc": {
"start": {
"line": 31,
"column": 32
},
"end": {
"line": 31,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 830,
"end": 836,
"loc": {
"start": {
"line": 31,
"column": 37
},
"end": {
"line": 31,
"column": 43
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 837,
"end": 842,
"loc": {
"start": {
"line": 31,
"column": 44
},
"end": {
"line": 31,
"column": 49
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 843,
"end": 845,
"loc": {
"start": {
"line": 31,
"column": 50
},
"end": {
"line": 31,
"column": 52
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 846,
"end": 861,
"loc": {
"start": {
"line": 31,
"column": 53
},
"end": {
"line": 31,
"column": 68
}
},
"extra": {
"rawValue": "modelUnloaded",
"raw": "\"modelUnloaded\""
},
"value": "modelUnloaded"
},
{
"type": "ArrowFunctionExpression",
"start": 863,
"end": 926,
"loc": {
"start": {
"line": 31,
"column": 70
},
"end": {
"line": 33,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 864,
"end": 871,
"loc": {
"start": {
"line": 31,
"column": 71
},
"end": {
"line": 31,
"column": 78
},
"identifierName": "modelId"
},
"name": "modelId"
}
],
"body": {
"type": "BlockStatement",
"start": 876,
"end": 926,
"loc": {
"start": {
"line": 31,
"column": 83
},
"end": {
"line": 33,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 890,
"end": 916,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 890,
"end": 915,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 890,
"end": 908,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 890,
"end": 894,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 895,
"end": 908,
"loc": {
"start": {
"line": 32,
"column": 17
},
"end": {
"line": 32,
"column": 30
},
"identifierName": "_needsRebuild"
},
"name": "_needsRebuild"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 911,
"end": 915,
"loc": {
"start": {
"line": 32,
"column": 33
},
"end": {
"line": 32,
"column": 37
}
},
"value": true
}
}
}
],
"directives": []
}
}
]
}
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Gets the root ObjectsKdTree3 node.\n ",
"start": 940,
"end": 993,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 38,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 998,
"end": 1116,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 44,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1002,
"end": 1006,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 12
},
"identifierName": "root"
},
"name": "root"
},
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1009,
"end": 1116,
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 44,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 1019,
"end": 1083,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 42,
"column": 9
}
},
"test": {
"type": "MemberExpression",
"start": 1023,
"end": 1041,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 1023,
"end": 1027,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1028,
"end": 1041,
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 30
},
"identifierName": "_needsRebuild"
},
"name": "_needsRebuild"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 1043,
"end": 1083,
"loc": {
"start": {
"line": 40,
"column": 32
},
"end": {
"line": 42,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1057,
"end": 1073,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 28
}
},
"expression": {
"type": "CallExpression",
"start": 1057,
"end": 1072,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 27
}
},
"callee": {
"type": "MemberExpression",
"start": 1057,
"end": 1070,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 1057,
"end": 1061,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1062,
"end": 1070,
"loc": {
"start": {
"line": 41,
"column": 17
},
"end": {
"line": 41,
"column": 25
},
"identifierName": "_rebuild"
},
"name": "_rebuild"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 1092,
"end": 1110,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 26
}
},
"argument": {
"type": "MemberExpression",
"start": 1099,
"end": 1109,
"loc": {
"start": {
"line": 43,
"column": 15
},
"end": {
"line": 43,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 1099,
"end": 1103,
"loc": {
"start": {
"line": 43,
"column": 15
},
"end": {
"line": 43,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 1104,
"end": 1109,
"loc": {
"start": {
"line": 43,
"column": 20
},
"end": {
"line": 43,
"column": 25
},
"identifierName": "_root"
},
"name": "_root"
},
"computed": false
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Gets the root ObjectsKdTree3 node.\n ",
"start": 940,
"end": 993,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 38,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1122,
"end": 1512,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 58,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1122,
"end": 1130,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 12
},
"identifierName": "_rebuild"
},
"name": "_rebuild"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1133,
"end": 1512,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 58,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1143,
"end": 1170,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1149,
"end": 1169,
"loc": {
"start": {
"line": 47,
"column": 14
},
"end": {
"line": 47,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 1149,
"end": 1155,
"loc": {
"start": {
"line": 47,
"column": 14
},
"end": {
"line": 47,
"column": 20
},
"identifierName": "viewer"
},
"name": "viewer"
},
"init": {
"type": "MemberExpression",
"start": 1158,
"end": 1169,
"loc": {
"start": {
"line": 47,
"column": 23
},
"end": {
"line": 47,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 1158,
"end": 1162,
"loc": {
"start": {
"line": 47,
"column": 23
},
"end": {
"line": 47,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 1163,
"end": 1169,
"loc": {
"start": {
"line": 47,
"column": 28
},
"end": {
"line": 47,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1179,
"end": 1206,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1185,
"end": 1205,
"loc": {
"start": {
"line": 48,
"column": 14
},
"end": {
"line": 48,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 1185,
"end": 1190,
"loc": {
"start": {
"line": 48,
"column": 14
},
"end": {
"line": 48,
"column": 19
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 1193,
"end": 1205,
"loc": {
"start": {
"line": 48,
"column": 22
},
"end": {
"line": 48,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1193,
"end": 1199,
"loc": {
"start": {
"line": 48,
"column": 22
},
"end": {
"line": 48,
"column": 28
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 1200,
"end": 1205,
"loc": {
"start": {
"line": 48,
"column": 29
},
"end": {
"line": 48,
"column": 34
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1215,
"end": 1231,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 24
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1221,
"end": 1230,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 23
}
},
"id": {
"type": "Identifier",
"start": 1221,
"end": 1226,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 19
},
"identifierName": "depth"
},
"name": "depth"
},
"init": {
"type": "NumericLiteral",
"start": 1229,
"end": 1230,
"loc": {
"start": {
"line": 49,
"column": 22
},
"end": {
"line": 49,
"column": 23
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1240,
"end": 1299,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 52,
"column": 10
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1240,
"end": 1298,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 52,
"column": 9
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1240,
"end": 1250,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 1240,
"end": 1244,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1245,
"end": 1250,
"loc": {
"start": {
"line": 50,
"column": 13
},
"end": {
"line": 50,
"column": 18
},
"identifierName": "_root"
},
"name": "_root"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 1253,
"end": 1298,
"loc": {
"start": {
"line": 50,
"column": 21
},
"end": {
"line": 52,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1267,
"end": 1288,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 33
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1267,
"end": 1271,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 16
},
"identifierName": "aabb"
},
"name": "aabb"
},
"value": {
"type": "CallExpression",
"start": 1273,
"end": 1288,
"loc": {
"start": {
"line": 51,
"column": 18
},
"end": {
"line": 51,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1273,
"end": 1286,
"loc": {
"start": {
"line": 51,
"column": 18
},
"end": {
"line": 51,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 1273,
"end": 1278,
"loc": {
"start": {
"line": 51,
"column": 18
},
"end": {
"line": 51,
"column": 23
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 1279,
"end": 1286,
"loc": {
"start": {
"line": 51,
"column": 24
},
"end": {
"line": 51,
"column": 31
},
"identifierName": "getAABB"
},
"name": "getAABB"
},
"computed": false
},
"arguments": []
}
}
]
}
}
},
{
"type": "ForInStatement",
"start": 1308,
"end": 1470,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 56,
"column": 9
}
},
"left": {
"type": "VariableDeclaration",
"start": 1313,
"end": 1325,
"loc": {
"start": {
"line": 53,
"column": 13
},
"end": {
"line": 53,
"column": 25
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1317,
"end": 1325,
"loc": {
"start": {
"line": 53,
"column": 17
},
"end": {
"line": 53,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 1317,
"end": 1325,
"loc": {
"start": {
"line": 53,
"column": 17
},
"end": {
"line": 53,
"column": 25
},
"identifierName": "objectId"
},
"name": "objectId"
},
"init": null
}
],
"kind": "let"
},
"right": {
"type": "MemberExpression",
"start": 1329,
"end": 1342,
"loc": {
"start": {
"line": 53,
"column": 29
},
"end": {
"line": 53,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 1329,
"end": 1334,
"loc": {
"start": {
"line": 53,
"column": 29
},
"end": {
"line": 53,
"column": 34
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 1335,
"end": 1342,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 53,
"column": 42
},
"identifierName": "objects"
},
"name": "objects"
},
"computed": false
},
"body": {
"type": "BlockStatement",
"start": 1344,
"end": 1470,
"loc": {
"start": {
"line": 53,
"column": 44
},
"end": {
"line": 56,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1358,
"end": 1397,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1364,
"end": 1396,
"loc": {
"start": {
"line": 54,
"column": 18
},
"end": {
"line": 54,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 1364,
"end": 1370,
"loc": {
"start": {
"line": 54,
"column": 18
},
"end": {
"line": 54,
"column": 24
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "MemberExpression",
"start": 1373,
"end": 1396,
"loc": {
"start": {
"line": 54,
"column": 27
},
"end": {
"line": 54,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 1373,
"end": 1386,
"loc": {
"start": {
"line": 54,
"column": 27
},
"end": {
"line": 54,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 1373,
"end": 1378,
"loc": {
"start": {
"line": 54,
"column": 27
},
"end": {
"line": 54,
"column": 32
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 1379,
"end": 1386,
"loc": {
"start": {
"line": 54,
"column": 33
},
"end": {
"line": 54,
"column": 40
},
"identifierName": "objects"
},
"name": "objects"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1387,
"end": 1395,
"loc": {
"start": {
"line": 54,
"column": 41
},
"end": {
"line": 54,
"column": 49
},
"identifierName": "objectId"
},
"name": "objectId"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1410,
"end": 1460,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 62
}
},
"expression": {
"type": "CallExpression",
"start": 1410,
"end": 1459,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 1410,
"end": 1428,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 1410,
"end": 1414,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1415,
"end": 1428,
"loc": {
"start": {
"line": 55,
"column": 17
},
"end": {
"line": 55,
"column": 30
},
"identifierName": "_insertEntity"
},
"name": "_insertEntity"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1429,
"end": 1439,
"loc": {
"start": {
"line": 55,
"column": 31
},
"end": {
"line": 55,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 1429,
"end": 1433,
"loc": {
"start": {
"line": 55,
"column": 31
},
"end": {
"line": 55,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 1434,
"end": 1439,
"loc": {
"start": {
"line": 55,
"column": 36
},
"end": {
"line": 55,
"column": 41
},
"identifierName": "_root"
},
"name": "_root"
},
"computed": false
},
{
"type": "Identifier",
"start": 1441,
"end": 1447,
"loc": {
"start": {
"line": 55,
"column": 43
},
"end": {
"line": 55,
"column": 49
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "BinaryExpression",
"start": 1449,
"end": 1458,
"loc": {
"start": {
"line": 55,
"column": 51
},
"end": {
"line": 55,
"column": 60
}
},
"left": {
"type": "Identifier",
"start": 1449,
"end": 1454,
"loc": {
"start": {
"line": 55,
"column": 51
},
"end": {
"line": 55,
"column": 56
},
"identifierName": "depth"
},
"name": "depth"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 1457,
"end": 1458,
"loc": {
"start": {
"line": 55,
"column": 59
},
"end": {
"line": 55,
"column": 60
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
]
}
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 1479,
"end": 1506,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1479,
"end": 1505,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 34
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1479,
"end": 1497,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1479,
"end": 1483,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1484,
"end": 1497,
"loc": {
"start": {
"line": 57,
"column": 13
},
"end": {
"line": 57,
"column": 26
},
"identifierName": "_needsRebuild"
},
"name": "_needsRebuild"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1500,
"end": 1505,
"loc": {
"start": {
"line": 57,
"column": 29
},
"end": {
"line": 57,
"column": 34
}
},
"value": false
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1518,
"end": 3454,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 116,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1518,
"end": 1531,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 17
},
"identifierName": "_insertEntity"
},
"name": "_insertEntity"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1532,
"end": 1536,
"loc": {
"start": {
"line": 60,
"column": 18
},
"end": {
"line": 60,
"column": 22
},
"identifierName": "node"
},
"name": "node"
},
{
"type": "Identifier",
"start": 1538,
"end": 1544,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 60,
"column": 30
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 1546,
"end": 1551,
"loc": {
"start": {
"line": 60,
"column": 32
},
"end": {
"line": 60,
"column": 37
},
"identifierName": "depth"
},
"name": "depth"
}
],
"body": {
"type": "BlockStatement",
"start": 1553,
"end": 3454,
"loc": {
"start": {
"line": 60,
"column": 39
},
"end": {
"line": 116,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1564,
"end": 1595,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1570,
"end": 1594,
"loc": {
"start": {
"line": 62,
"column": 14
},
"end": {
"line": 62,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 1570,
"end": 1580,
"loc": {
"start": {
"line": 62,
"column": 14
},
"end": {
"line": 62,
"column": 24
},
"identifierName": "entityAABB"
},
"name": "entityAABB"
},
"init": {
"type": "MemberExpression",
"start": 1583,
"end": 1594,
"loc": {
"start": {
"line": 62,
"column": 27
},
"end": {
"line": 62,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 1583,
"end": 1589,
"loc": {
"start": {
"line": 62,
"column": 27
},
"end": {
"line": 62,
"column": 33
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1590,
"end": 1594,
"loc": {
"start": {
"line": 62,
"column": 34
},
"end": {
"line": 62,
"column": 38
},
"identifierName": "aabb"
},
"name": "aabb"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 1605,
"end": 1758,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 68,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 1609,
"end": 1636,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 39
}
},
"left": {
"type": "Identifier",
"start": 1609,
"end": 1614,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 17
},
"identifierName": "depth"
},
"name": "depth"
},
"operator": ">=",
"right": {
"type": "MemberExpression",
"start": 1618,
"end": 1636,
"loc": {
"start": {
"line": 64,
"column": 21
},
"end": {
"line": 64,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 1618,
"end": 1622,
"loc": {
"start": {
"line": 64,
"column": 21
},
"end": {
"line": 64,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 1623,
"end": 1636,
"loc": {
"start": {
"line": 64,
"column": 26
},
"end": {
"line": 64,
"column": 39
},
"identifierName": "_maxTreeDepth"
},
"name": "_maxTreeDepth"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1638,
"end": 1758,
"loc": {
"start": {
"line": 64,
"column": 41
},
"end": {
"line": 68,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1652,
"end": 1688,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 48
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1652,
"end": 1687,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 47
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1652,
"end": 1665,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 1652,
"end": 1656,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 16
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 1657,
"end": 1665,
"loc": {
"start": {
"line": 65,
"column": 17
},
"end": {
"line": 65,
"column": 25
},
"identifierName": "entities"
},
"name": "entities"
},
"computed": false
},
"right": {
"type": "LogicalExpression",
"start": 1668,
"end": 1687,
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 65,
"column": 47
}
},
"left": {
"type": "MemberExpression",
"start": 1668,
"end": 1681,
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 65,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 1668,
"end": 1672,
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 65,
"column": 32
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 1673,
"end": 1681,
"loc": {
"start": {
"line": 65,
"column": 33
},
"end": {
"line": 65,
"column": 41
},
"identifierName": "entities"
},
"name": "entities"
},
"computed": false
},
"operator": "||",
"right": {
"type": "ArrayExpression",
"start": 1685,
"end": 1687,
"loc": {
"start": {
"line": 65,
"column": 45
},
"end": {
"line": 65,
"column": 47
}
},
"elements": []
}
}
}
},
{
"type": "ExpressionStatement",
"start": 1701,
"end": 1728,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 39
}
},
"expression": {
"type": "CallExpression",
"start": 1701,
"end": 1727,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 1701,
"end": 1719,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 1701,
"end": 1714,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 1701,
"end": 1705,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 16
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 1706,
"end": 1714,
"loc": {
"start": {
"line": 66,
"column": 17
},
"end": {
"line": 66,
"column": 25
},
"identifierName": "entities"
},
"name": "entities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1715,
"end": 1719,
"loc": {
"start": {
"line": 66,
"column": 26
},
"end": {
"line": 66,
"column": 30
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1720,
"end": 1726,
"loc": {
"start": {
"line": 66,
"column": 31
},
"end": {
"line": 66,
"column": 37
},
"identifierName": "entity"
},
"name": "entity"
}
]
}
},
{
"type": "ReturnStatement",
"start": 1741,
"end": 1748,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 1767,
"end": 1963,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 74,
"column": 9
}
},
"test": {
"type": "MemberExpression",
"start": 1771,
"end": 1780,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 1771,
"end": 1775,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 16
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 1776,
"end": 1780,
"loc": {
"start": {
"line": 69,
"column": 17
},
"end": {
"line": 69,
"column": 21
},
"identifierName": "left"
},
"name": "left"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 1782,
"end": 1963,
"loc": {
"start": {
"line": 69,
"column": 23
},
"end": {
"line": 74,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1796,
"end": 1953,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 73,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 1800,
"end": 1846,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 1800,
"end": 1818,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1800,
"end": 1804,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 20
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 1805,
"end": 1818,
"loc": {
"start": {
"line": 70,
"column": 21
},
"end": {
"line": 70,
"column": 34
},
"identifierName": "containsAABB3"
},
"name": "containsAABB3"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1819,
"end": 1833,
"loc": {
"start": {
"line": 70,
"column": 35
},
"end": {
"line": 70,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 1819,
"end": 1828,
"loc": {
"start": {
"line": 70,
"column": 35
},
"end": {
"line": 70,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 1819,
"end": 1823,
"loc": {
"start": {
"line": 70,
"column": 35
},
"end": {
"line": 70,
"column": 39
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 1824,
"end": 1828,
"loc": {
"start": {
"line": 70,
"column": 40
},
"end": {
"line": 70,
"column": 44
},
"identifierName": "left"
},
"name": "left"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1829,
"end": 1833,
"loc": {
"start": {
"line": 70,
"column": 45
},
"end": {
"line": 70,
"column": 49
},
"identifierName": "aabb"
},
"name": "aabb"
},
"computed": false
},
{
"type": "Identifier",
"start": 1835,
"end": 1845,
"loc": {
"start": {
"line": 70,
"column": 51
},
"end": {
"line": 70,
"column": 61
},
"identifierName": "entityAABB"
},
"name": "entityAABB"
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 1848,
"end": 1953,
"loc": {
"start": {
"line": 70,
"column": 64
},
"end": {
"line": 73,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1866,
"end": 1915,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 65
}
},
"expression": {
"type": "CallExpression",
"start": 1866,
"end": 1914,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 1866,
"end": 1884,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 1866,
"end": 1870,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1871,
"end": 1884,
"loc": {
"start": {
"line": 71,
"column": 21
},
"end": {
"line": 71,
"column": 34
},
"identifierName": "_insertEntity"
},
"name": "_insertEntity"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1885,
"end": 1894,
"loc": {
"start": {
"line": 71,
"column": 35
},
"end": {
"line": 71,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 1885,
"end": 1889,
"loc": {
"start": {
"line": 71,
"column": 35
},
"end": {
"line": 71,
"column": 39
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 1890,
"end": 1894,
"loc": {
"start": {
"line": 71,
"column": 40
},
"end": {
"line": 71,
"column": 44
},
"identifierName": "left"
},
"name": "left"
},
"computed": false
},
{
"type": "Identifier",
"start": 1896,
"end": 1902,
"loc": {
"start": {
"line": 71,
"column": 46
},
"end": {
"line": 71,
"column": 52
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "BinaryExpression",
"start": 1904,
"end": 1913,
"loc": {
"start": {
"line": 71,
"column": 54
},
"end": {
"line": 71,
"column": 63
}
},
"left": {
"type": "Identifier",
"start": 1904,
"end": 1909,
"loc": {
"start": {
"line": 71,
"column": 54
},
"end": {
"line": 71,
"column": 59
},
"identifierName": "depth"
},
"name": "depth"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 1912,
"end": 1913,
"loc": {
"start": {
"line": 71,
"column": 62
},
"end": {
"line": 71,
"column": 63
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
]
}
},
{
"type": "ReturnStatement",
"start": 1932,
"end": 1939,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 1972,
"end": 2171,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 80,
"column": 9
}
},
"test": {
"type": "MemberExpression",
"start": 1976,
"end": 1986,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 1976,
"end": 1980,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 16
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 1981,
"end": 1986,
"loc": {
"start": {
"line": 75,
"column": 17
},
"end": {
"line": 75,
"column": 22
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 1988,
"end": 2171,
"loc": {
"start": {
"line": 75,
"column": 24
},
"end": {
"line": 80,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 2002,
"end": 2161,
"loc": {
"start": {
"line": 76,
"column": 12
},
"end": {
"line": 79,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 2006,
"end": 2053,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 2006,
"end": 2024,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2006,
"end": 2010,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 20
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 2011,
"end": 2024,
"loc": {
"start": {
"line": 76,
"column": 21
},
"end": {
"line": 76,
"column": 34
},
"identifierName": "containsAABB3"
},
"name": "containsAABB3"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2025,
"end": 2040,
"loc": {
"start": {
"line": 76,
"column": 35
},
"end": {
"line": 76,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 2025,
"end": 2035,
"loc": {
"start": {
"line": 76,
"column": 35
},
"end": {
"line": 76,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 2025,
"end": 2029,
"loc": {
"start": {
"line": 76,
"column": 35
},
"end": {
"line": 76,
"column": 39
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 2030,
"end": 2035,
"loc": {
"start": {
"line": 76,
"column": 40
},
"end": {
"line": 76,
"column": 45
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2036,
"end": 2040,
"loc": {
"start": {
"line": 76,
"column": 46
},
"end": {
"line": 76,
"column": 50
},
"identifierName": "aabb"
},
"name": "aabb"
},
"computed": false
},
{
"type": "Identifier",
"start": 2042,
"end": 2052,
"loc": {
"start": {
"line": 76,
"column": 52
},
"end": {
"line": 76,
"column": 62
},
"identifierName": "entityAABB"
},
"name": "entityAABB"
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 2055,
"end": 2161,
"loc": {
"start": {
"line": 76,
"column": 65
},
"end": {
"line": 79,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2073,
"end": 2123,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 66
}
},
"expression": {
"type": "CallExpression",
"start": 2073,
"end": 2122,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 2073,
"end": 2091,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 2073,
"end": 2077,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 2078,
"end": 2091,
"loc": {
"start": {
"line": 77,
"column": 21
},
"end": {
"line": 77,
"column": 34
},
"identifierName": "_insertEntity"
},
"name": "_insertEntity"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2092,
"end": 2102,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 2092,
"end": 2096,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 39
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 2097,
"end": 2102,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 45
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
},
{
"type": "Identifier",
"start": 2104,
"end": 2110,
"loc": {
"start": {
"line": 77,
"column": 47
},
"end": {
"line": 77,
"column": 53
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "BinaryExpression",
"start": 2112,
"end": 2121,
"loc": {
"start": {
"line": 77,
"column": 55
},
"end": {
"line": 77,
"column": 64
}
},
"left": {
"type": "Identifier",
"start": 2112,
"end": 2117,
"loc": {
"start": {
"line": 77,
"column": 55
},
"end": {
"line": 77,
"column": 60
},
"identifierName": "depth"
},
"name": "depth"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 2120,
"end": 2121,
"loc": {
"start": {
"line": 77,
"column": 63
},
"end": {
"line": 77,
"column": 64
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
]
}
},
{
"type": "ReturnStatement",
"start": 2140,
"end": 2147,
"loc": {
"start": {
"line": 78,
"column": 16
},
"end": {
"line": 78,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 2180,
"end": 2207,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2186,
"end": 2206,
"loc": {
"start": {
"line": 81,
"column": 14
},
"end": {
"line": 81,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 2186,
"end": 2194,
"loc": {
"start": {
"line": 81,
"column": 14
},
"end": {
"line": 81,
"column": 22
},
"identifierName": "nodeAABB"
},
"name": "nodeAABB"
},
"init": {
"type": "MemberExpression",
"start": 2197,
"end": 2206,
"loc": {
"start": {
"line": 81,
"column": 25
},
"end": {
"line": 81,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2197,
"end": 2201,
"loc": {
"start": {
"line": 81,
"column": 25
},
"end": {
"line": 81,
"column": 29
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 2202,
"end": 2206,
"loc": {
"start": {
"line": 81,
"column": 30
},
"end": {
"line": 81,
"column": 34
},
"identifierName": "aabb"
},
"name": "aabb"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2216,
"end": 2263,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 55
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2216,
"end": 2262,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 54
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2216,
"end": 2234,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 2216,
"end": 2231,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 23
},
"identifierName": "kdTreeDimLength"
},
"name": "kdTreeDimLength"
},
"property": {
"type": "NumericLiteral",
"start": 2232,
"end": 2233,
"loc": {
"start": {
"line": 82,
"column": 24
},
"end": {
"line": 82,
"column": 25
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"right": {
"type": "BinaryExpression",
"start": 2237,
"end": 2262,
"loc": {
"start": {
"line": 82,
"column": 29
},
"end": {
"line": 82,
"column": 54
}
},
"left": {
"type": "MemberExpression",
"start": 2237,
"end": 2248,
"loc": {
"start": {
"line": 82,
"column": 29
},
"end": {
"line": 82,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 2237,
"end": 2245,
"loc": {
"start": {
"line": 82,
"column": 29
},
"end": {
"line": 82,
"column": 37
},
"identifierName": "nodeAABB"
},
"name": "nodeAABB"
},
"property": {
"type": "NumericLiteral",
"start": 2246,
"end": 2247,
"loc": {
"start": {
"line": 82,
"column": 38
},
"end": {
"line": 82,
"column": 39
}
},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
},
"computed": true
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 2251,
"end": 2262,
"loc": {
"start": {
"line": 82,
"column": 43
},
"end": {
"line": 82,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 2251,
"end": 2259,
"loc": {
"start": {
"line": 82,
"column": 43
},
"end": {
"line": 82,
"column": 51
},
"identifierName": "nodeAABB"
},
"name": "nodeAABB"
},
"property": {
"type": "NumericLiteral",
"start": 2260,
"end": 2261,
"loc": {
"start": {
"line": 82,
"column": 52
},
"end": {
"line": 82,
"column": 53
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
}
},
{
"type": "ExpressionStatement",
"start": 2272,
"end": 2319,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 55
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2272,
"end": 2318,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 54
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2272,
"end": 2290,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 2272,
"end": 2287,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 23
},
"identifierName": "kdTreeDimLength"
},
"name": "kdTreeDimLength"
},
"property": {
"type": "NumericLiteral",
"start": 2288,
"end": 2289,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 83,
"column": 25
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"right": {
"type": "BinaryExpression",
"start": 2293,
"end": 2318,
"loc": {
"start": {
"line": 83,
"column": 29
},
"end": {
"line": 83,
"column": 54
}
},
"left": {
"type": "MemberExpression",
"start": 2293,
"end": 2304,
"loc": {
"start": {
"line": 83,
"column": 29
},
"end": {
"line": 83,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 2293,
"end": 2301,
"loc": {
"start": {
"line": 83,
"column": 29
},
"end": {
"line": 83,
"column": 37
},
"identifierName": "nodeAABB"
},
"name": "nodeAABB"
},
"property": {
"type": "NumericLiteral",
"start": 2302,
"end": 2303,
"loc": {
"start": {
"line": 83,
"column": 38
},
"end": {
"line": 83,
"column": 39
}
},
"extra": {
"rawValue": 4,
"raw": "4"
},
"value": 4
},
"computed": true
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 2307,
"end": 2318,
"loc": {
"start": {
"line": 83,
"column": 43
},
"end": {
"line": 83,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 2307,
"end": 2315,
"loc": {
"start": {
"line": 83,
"column": 43
},
"end": {
"line": 83,
"column": 51
},
"identifierName": "nodeAABB"
},
"name": "nodeAABB"
},
"property": {
"type": "NumericLiteral",
"start": 2316,
"end": 2317,
"loc": {
"start": {
"line": 83,
"column": 52
},
"end": {
"line": 83,
"column": 53
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
}
}
},
{
"type": "ExpressionStatement",
"start": 2328,
"end": 2375,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 55
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2328,
"end": 2374,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 54
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2328,
"end": 2346,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 2328,
"end": 2343,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 23
},
"identifierName": "kdTreeDimLength"
},
"name": "kdTreeDimLength"
},
"property": {
"type": "NumericLiteral",
"start": 2344,
"end": 2345,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 25
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"computed": true
},
"right": {
"type": "BinaryExpression",
"start": 2349,
"end": 2374,
"loc": {
"start": {
"line": 84,
"column": 29
},
"end": {
"line": 84,
"column": 54
}
},
"left": {
"type": "MemberExpression",
"start": 2349,
"end": 2360,
"loc": {
"start": {
"line": 84,
"column": 29
},
"end": {
"line": 84,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 2349,
"end": 2357,
"loc": {
"start": {
"line": 84,
"column": 29
},
"end": {
"line": 84,
"column": 37
},
"identifierName": "nodeAABB"
},
"name": "nodeAABB"
},
"property": {
"type": "NumericLiteral",
"start": 2358,
"end": 2359,
"loc": {
"start": {
"line": 84,
"column": 38
},
"end": {
"line": 84,
"column": 39
}
},
"extra": {
"rawValue": 5,
"raw": "5"
},
"value": 5
},
"computed": true
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 2363,
"end": 2374,
"loc": {
"start": {
"line": 84,
"column": 43
},
"end": {
"line": 84,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 2363,
"end": 2371,
"loc": {
"start": {
"line": 84,
"column": 43
},
"end": {
"line": 84,
"column": 51
},
"identifierName": "nodeAABB"
},
"name": "nodeAABB"
},
"property": {
"type": "NumericLiteral",
"start": 2372,
"end": 2373,
"loc": {
"start": {
"line": 84,
"column": 52
},
"end": {
"line": 84,
"column": 53
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"computed": true
}
}
}
},
{
"type": "VariableDeclaration",
"start": 2384,
"end": 2396,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 20
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2388,
"end": 2395,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 19
}
},
"id": {
"type": "Identifier",
"start": 2388,
"end": 2391,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 15
},
"identifierName": "dim"
},
"name": "dim"
},
"init": {
"type": "NumericLiteral",
"start": 2394,
"end": 2395,
"loc": {
"start": {
"line": 85,
"column": 18
},
"end": {
"line": 85,
"column": 19
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 2405,
"end": 2484,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 88,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 2409,
"end": 2450,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 53
}
},
"left": {
"type": "MemberExpression",
"start": 2409,
"end": 2427,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 2409,
"end": 2424,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 27
},
"identifierName": "kdTreeDimLength"
},
"name": "kdTreeDimLength"
},
"property": {
"type": "NumericLiteral",
"start": 2425,
"end": 2426,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 29
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"operator": ">",
"right": {
"type": "MemberExpression",
"start": 2430,
"end": 2450,
"loc": {
"start": {
"line": 86,
"column": 33
},
"end": {
"line": 86,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 2430,
"end": 2445,
"loc": {
"start": {
"line": 86,
"column": 33
},
"end": {
"line": 86,
"column": 48
},
"identifierName": "kdTreeDimLength"
},
"name": "kdTreeDimLength"
},
"property": {
"type": "Identifier",
"start": 2446,
"end": 2449,
"loc": {
"start": {
"line": 86,
"column": 49
},
"end": {
"line": 86,
"column": 52
},
"identifierName": "dim"
},
"name": "dim"
},
"computed": true
}
},
"consequent": {
"type": "BlockStatement",
"start": 2452,
"end": 2484,
"loc": {
"start": {
"line": 86,
"column": 55
},
"end": {
"line": 88,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2466,
"end": 2474,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 20
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2466,
"end": 2473,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 19
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2466,
"end": 2469,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 15
},
"identifierName": "dim"
},
"name": "dim"
},
"right": {
"type": "NumericLiteral",
"start": 2472,
"end": 2473,
"loc": {
"start": {
"line": 87,
"column": 18
},
"end": {
"line": 87,
"column": 19
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2493,
"end": 2572,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 91,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 2497,
"end": 2538,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 53
}
},
"left": {
"type": "MemberExpression",
"start": 2497,
"end": 2515,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 2497,
"end": 2512,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 27
},
"identifierName": "kdTreeDimLength"
},
"name": "kdTreeDimLength"
},
"property": {
"type": "NumericLiteral",
"start": 2513,
"end": 2514,
"loc": {
"start": {
"line": 89,
"column": 28
},
"end": {
"line": 89,
"column": 29
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"computed": true
},
"operator": ">",
"right": {
"type": "MemberExpression",
"start": 2518,
"end": 2538,
"loc": {
"start": {
"line": 89,
"column": 33
},
"end": {
"line": 89,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 2518,
"end": 2533,
"loc": {
"start": {
"line": 89,
"column": 33
},
"end": {
"line": 89,
"column": 48
},
"identifierName": "kdTreeDimLength"
},
"name": "kdTreeDimLength"
},
"property": {
"type": "Identifier",
"start": 2534,
"end": 2537,
"loc": {
"start": {
"line": 89,
"column": 49
},
"end": {
"line": 89,
"column": 52
},
"identifierName": "dim"
},
"name": "dim"
},
"computed": true
}
},
"consequent": {
"type": "BlockStatement",
"start": 2540,
"end": 2572,
"loc": {
"start": {
"line": 89,
"column": 55
},
"end": {
"line": 91,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2554,
"end": 2562,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 20
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2554,
"end": 2561,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 19
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2554,
"end": 2557,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 15
},
"identifierName": "dim"
},
"name": "dim"
},
"right": {
"type": "NumericLiteral",
"start": 2560,
"end": 2561,
"loc": {
"start": {
"line": 90,
"column": 18
},
"end": {
"line": 90,
"column": 19
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2581,
"end": 2968,
"loc": {
"start": {
"line": 92,
"column": 8
},
"end": {
"line": 102,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 2585,
"end": 2595,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 2586,
"end": 2595,
"loc": {
"start": {
"line": 92,
"column": 13
},
"end": {
"line": 92,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 2586,
"end": 2590,
"loc": {
"start": {
"line": 92,
"column": 13
},
"end": {
"line": 92,
"column": 17
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 2591,
"end": 2595,
"loc": {
"start": {
"line": 92,
"column": 18
},
"end": {
"line": 92,
"column": 22
},
"identifierName": "left"
},
"name": "left"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2597,
"end": 2968,
"loc": {
"start": {
"line": 92,
"column": 24
},
"end": {
"line": 102,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2611,
"end": 2645,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 46
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2617,
"end": 2644,
"loc": {
"start": {
"line": 93,
"column": 18
},
"end": {
"line": 93,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 2617,
"end": 2625,
"loc": {
"start": {
"line": 93,
"column": 18
},
"end": {
"line": 93,
"column": 26
},
"identifierName": "aabbLeft"
},
"name": "aabbLeft"
},
"init": {
"type": "CallExpression",
"start": 2628,
"end": 2644,
"loc": {
"start": {
"line": 93,
"column": 29
},
"end": {
"line": 93,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 2628,
"end": 2642,
"loc": {
"start": {
"line": 93,
"column": 29
},
"end": {
"line": 93,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 2628,
"end": 2636,
"loc": {
"start": {
"line": 93,
"column": 29
},
"end": {
"line": 93,
"column": 37
},
"identifierName": "nodeAABB"
},
"name": "nodeAABB"
},
"property": {
"type": "Identifier",
"start": 2637,
"end": 2642,
"loc": {
"start": {
"line": 93,
"column": 38
},
"end": {
"line": 93,
"column": 43
},
"identifierName": "slice"
},
"name": "slice"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2658,
"end": 2722,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 76
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2658,
"end": 2721,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 75
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2658,
"end": 2675,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 2658,
"end": 2666,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 20
},
"identifierName": "aabbLeft"
},
"name": "aabbLeft"
},
"property": {
"type": "BinaryExpression",
"start": 2667,
"end": 2674,
"loc": {
"start": {
"line": 94,
"column": 21
},
"end": {
"line": 94,
"column": 28
}
},
"left": {
"type": "Identifier",
"start": 2667,
"end": 2670,
"loc": {
"start": {
"line": 94,
"column": 21
},
"end": {
"line": 94,
"column": 24
},
"identifierName": "dim"
},
"name": "dim"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 2673,
"end": 2674,
"loc": {
"start": {
"line": 94,
"column": 27
},
"end": {
"line": 94,
"column": 28
}
},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
}
},
"computed": true
},
"right": {
"type": "BinaryExpression",
"start": 2679,
"end": 2720,
"loc": {
"start": {
"line": 94,
"column": 33
},
"end": {
"line": 94,
"column": 74
}
},
"left": {
"type": "BinaryExpression",
"start": 2680,
"end": 2713,
"loc": {
"start": {
"line": 94,
"column": 34
},
"end": {
"line": 94,
"column": 67
}
},
"left": {
"type": "MemberExpression",
"start": 2680,
"end": 2693,
"loc": {
"start": {
"line": 94,
"column": 34
},
"end": {
"line": 94,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 2680,
"end": 2688,
"loc": {
"start": {
"line": 94,
"column": 34
},
"end": {
"line": 94,
"column": 42
},
"identifierName": "nodeAABB"
},
"name": "nodeAABB"
},
"property": {
"type": "Identifier",
"start": 2689,
"end": 2692,
"loc": {
"start": {
"line": 94,
"column": 43
},
"end": {
"line": 94,
"column": 46
},
"identifierName": "dim"
},
"name": "dim"
},
"computed": true
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 2696,
"end": 2713,
"loc": {
"start": {
"line": 94,
"column": 50
},
"end": {
"line": 94,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 2696,
"end": 2704,
"loc": {
"start": {
"line": 94,
"column": 50
},
"end": {
"line": 94,
"column": 58
},
"identifierName": "nodeAABB"
},
"name": "nodeAABB"
},
"property": {
"type": "BinaryExpression",
"start": 2705,
"end": 2712,
"loc": {
"start": {
"line": 94,
"column": 59
},
"end": {
"line": 94,
"column": 66
}
},
"left": {
"type": "Identifier",
"start": 2705,
"end": 2708,
"loc": {
"start": {
"line": 94,
"column": 59
},
"end": {
"line": 94,
"column": 62
},
"identifierName": "dim"
},
"name": "dim"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 2711,
"end": 2712,
"loc": {
"start": {
"line": 94,
"column": 65
},
"end": {
"line": 94,
"column": 66
}
},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
}
},
"computed": true
},
"extra": {
"parenthesized": true,
"parenStart": 2679
}
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 2717,
"end": 2720,
"loc": {
"start": {
"line": 94,
"column": 71
},
"end": {
"line": 94,
"column": 74
}
},
"extra": {
"rawValue": 2,
"raw": "2.0"
},
"value": 2
},
"extra": {
"parenthesized": true,
"parenStart": 2678
}
}
}
},
{
"type": "ExpressionStatement",
"start": 2735,
"end": 2794,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 97,
"column": 14
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2735,
"end": 2793,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 97,
"column": 13
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2735,
"end": 2744,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 2735,
"end": 2739,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 16
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 2740,
"end": 2744,
"loc": {
"start": {
"line": 95,
"column": 17
},
"end": {
"line": 95,
"column": 21
},
"identifierName": "left"
},
"name": "left"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 2747,
"end": 2793,
"loc": {
"start": {
"line": 95,
"column": 24
},
"end": {
"line": 97,
"column": 13
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2765,
"end": 2779,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 30
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2765,
"end": 2769,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 20
},
"identifierName": "aabb"
},
"name": "aabb"
},
"value": {
"type": "Identifier",
"start": 2771,
"end": 2779,
"loc": {
"start": {
"line": 96,
"column": 22
},
"end": {
"line": 96,
"column": 30
},
"identifierName": "aabbLeft"
},
"name": "aabbLeft"
}
}
]
}
}
},
{
"type": "IfStatement",
"start": 2807,
"end": 2958,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 101,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 2811,
"end": 2851,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 2811,
"end": 2829,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2811,
"end": 2815,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 20
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 2816,
"end": 2829,
"loc": {
"start": {
"line": 98,
"column": 21
},
"end": {
"line": 98,
"column": 34
},
"identifierName": "containsAABB3"
},
"name": "containsAABB3"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2830,
"end": 2838,
"loc": {
"start": {
"line": 98,
"column": 35
},
"end": {
"line": 98,
"column": 43
},
"identifierName": "aabbLeft"
},
"name": "aabbLeft"
},
{
"type": "Identifier",
"start": 2840,
"end": 2850,
"loc": {
"start": {
"line": 98,
"column": 45
},
"end": {
"line": 98,
"column": 55
},
"identifierName": "entityAABB"
},
"name": "entityAABB"
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 2853,
"end": 2958,
"loc": {
"start": {
"line": 98,
"column": 58
},
"end": {
"line": 101,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2871,
"end": 2920,
"loc": {
"start": {
"line": 99,
"column": 16
},
"end": {
"line": 99,
"column": 65
}
},
"expression": {
"type": "CallExpression",
"start": 2871,
"end": 2919,
"loc": {
"start": {
"line": 99,
"column": 16
},
"end": {
"line": 99,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 2871,
"end": 2889,
"loc": {
"start": {
"line": 99,
"column": 16
},
"end": {
"line": 99,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 2871,
"end": 2875,
"loc": {
"start": {
"line": 99,
"column": 16
},
"end": {
"line": 99,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 2876,
"end": 2889,
"loc": {
"start": {
"line": 99,
"column": 21
},
"end": {
"line": 99,
"column": 34
},
"identifierName": "_insertEntity"
},
"name": "_insertEntity"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2890,
"end": 2899,
"loc": {
"start": {
"line": 99,
"column": 35
},
"end": {
"line": 99,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 2890,
"end": 2894,
"loc": {
"start": {
"line": 99,
"column": 35
},
"end": {
"line": 99,
"column": 39
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 2895,
"end": 2899,
"loc": {
"start": {
"line": 99,
"column": 40
},
"end": {
"line": 99,
"column": 44
},
"identifierName": "left"
},
"name": "left"
},
"computed": false
},
{
"type": "Identifier",
"start": 2901,
"end": 2907,
"loc": {
"start": {
"line": 99,
"column": 46
},
"end": {
"line": 99,
"column": 52
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "BinaryExpression",
"start": 2909,
"end": 2918,
"loc": {
"start": {
"line": 99,
"column": 54
},
"end": {
"line": 99,
"column": 63
}
},
"left": {
"type": "Identifier",
"start": 2909,
"end": 2914,
"loc": {
"start": {
"line": 99,
"column": 54
},
"end": {
"line": 99,
"column": 59
},
"identifierName": "depth"
},
"name": "depth"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 2917,
"end": 2918,
"loc": {
"start": {
"line": 99,
"column": 62
},
"end": {
"line": 99,
"column": 63
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
]
}
},
{
"type": "ReturnStatement",
"start": 2937,
"end": 2944,
"loc": {
"start": {
"line": 100,
"column": 16
},
"end": {
"line": 100,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2977,
"end": 3367,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 113,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 2981,
"end": 2992,
"loc": {
"start": {
"line": 103,
"column": 12
},
"end": {
"line": 103,
"column": 23
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 2982,
"end": 2992,
"loc": {
"start": {
"line": 103,
"column": 13
},
"end": {
"line": 103,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 2982,
"end": 2986,
"loc": {
"start": {
"line": 103,
"column": 13
},
"end": {
"line": 103,
"column": 17
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 2987,
"end": 2992,
"loc": {
"start": {
"line": 103,
"column": 18
},
"end": {
"line": 103,
"column": 23
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2994,
"end": 3367,
"loc": {
"start": {
"line": 103,
"column": 25
},
"end": {
"line": 113,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3008,
"end": 3043,
"loc": {
"start": {
"line": 104,
"column": 12
},
"end": {
"line": 104,
"column": 47
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3014,
"end": 3042,
"loc": {
"start": {
"line": 104,
"column": 18
},
"end": {
"line": 104,
"column": 46
}
},
"id": {
"type": "Identifier",
"start": 3014,
"end": 3023,
"loc": {
"start": {
"line": 104,
"column": 18
},
"end": {
"line": 104,
"column": 27
},
"identifierName": "aabbRight"
},
"name": "aabbRight"
},
"init": {
"type": "CallExpression",
"start": 3026,
"end": 3042,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 3026,
"end": 3040,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 3026,
"end": 3034,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 38
},
"identifierName": "nodeAABB"
},
"name": "nodeAABB"
},
"property": {
"type": "Identifier",
"start": 3035,
"end": 3040,
"loc": {
"start": {
"line": 104,
"column": 39
},
"end": {
"line": 104,
"column": 44
},
"identifierName": "slice"
},
"name": "slice"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 3056,
"end": 3117,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 73
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3056,
"end": 3116,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 72
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3056,
"end": 3070,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 3056,
"end": 3065,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 21
},
"identifierName": "aabbRight"
},
"name": "aabbRight"
},
"property": {
"type": "Identifier",
"start": 3066,
"end": 3069,
"loc": {
"start": {
"line": 105,
"column": 22
},
"end": {
"line": 105,
"column": 25
},
"identifierName": "dim"
},
"name": "dim"
},
"computed": true
},
"right": {
"type": "BinaryExpression",
"start": 3074,
"end": 3115,
"loc": {
"start": {
"line": 105,
"column": 30
},
"end": {
"line": 105,
"column": 71
}
},
"left": {
"type": "BinaryExpression",
"start": 3075,
"end": 3108,
"loc": {
"start": {
"line": 105,
"column": 31
},
"end": {
"line": 105,
"column": 64
}
},
"left": {
"type": "MemberExpression",
"start": 3075,
"end": 3088,
"loc": {
"start": {
"line": 105,
"column": 31
},
"end": {
"line": 105,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 3075,
"end": 3083,
"loc": {
"start": {
"line": 105,
"column": 31
},
"end": {
"line": 105,
"column": 39
},
"identifierName": "nodeAABB"
},
"name": "nodeAABB"
},
"property": {
"type": "Identifier",
"start": 3084,
"end": 3087,
"loc": {
"start": {
"line": 105,
"column": 40
},
"end": {
"line": 105,
"column": 43
},
"identifierName": "dim"
},
"name": "dim"
},
"computed": true
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 3091,
"end": 3108,
"loc": {
"start": {
"line": 105,
"column": 47
},
"end": {
"line": 105,
"column": 64
}
},
"object": {
"type": "Identifier",
"start": 3091,
"end": 3099,
"loc": {
"start": {
"line": 105,
"column": 47
},
"end": {
"line": 105,
"column": 55
},
"identifierName": "nodeAABB"
},
"name": "nodeAABB"
},
"property": {
"type": "BinaryExpression",
"start": 3100,
"end": 3107,
"loc": {
"start": {
"line": 105,
"column": 56
},
"end": {
"line": 105,
"column": 63
}
},
"left": {
"type": "Identifier",
"start": 3100,
"end": 3103,
"loc": {
"start": {
"line": 105,
"column": 56
},
"end": {
"line": 105,
"column": 59
},
"identifierName": "dim"
},
"name": "dim"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 3106,
"end": 3107,
"loc": {
"start": {
"line": 105,
"column": 62
},
"end": {
"line": 105,
"column": 63
}
},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
}
},
"computed": true
},
"extra": {
"parenthesized": true,
"parenStart": 3074
}
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 3112,
"end": 3115,
"loc": {
"start": {
"line": 105,
"column": 68
},
"end": {
"line": 105,
"column": 71
}
},
"extra": {
"rawValue": 2,
"raw": "2.0"
},
"value": 2
},
"extra": {
"parenthesized": true,
"parenStart": 3073
}
}
}
},
{
"type": "ExpressionStatement",
"start": 3130,
"end": 3191,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 108,
"column": 14
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3130,
"end": 3190,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 108,
"column": 13
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3130,
"end": 3140,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 3130,
"end": 3134,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 16
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 3135,
"end": 3140,
"loc": {
"start": {
"line": 106,
"column": 17
},
"end": {
"line": 106,
"column": 22
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3143,
"end": 3190,
"loc": {
"start": {
"line": 106,
"column": 25
},
"end": {
"line": 108,
"column": 13
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3161,
"end": 3176,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 31
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3161,
"end": 3165,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 20
},
"identifierName": "aabb"
},
"name": "aabb"
},
"value": {
"type": "Identifier",
"start": 3167,
"end": 3176,
"loc": {
"start": {
"line": 107,
"column": 22
},
"end": {
"line": 107,
"column": 31
},
"identifierName": "aabbRight"
},
"name": "aabbRight"
}
}
]
}
}
},
{
"type": "IfStatement",
"start": 3204,
"end": 3357,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 112,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 3208,
"end": 3249,
"loc": {
"start": {
"line": 109,
"column": 16
},
"end": {
"line": 109,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 3208,
"end": 3226,
"loc": {
"start": {
"line": 109,
"column": 16
},
"end": {
"line": 109,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 3208,
"end": 3212,
"loc": {
"start": {
"line": 109,
"column": 16
},
"end": {
"line": 109,
"column": 20
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 3213,
"end": 3226,
"loc": {
"start": {
"line": 109,
"column": 21
},
"end": {
"line": 109,
"column": 34
},
"identifierName": "containsAABB3"
},
"name": "containsAABB3"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3227,
"end": 3236,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 44
},
"identifierName": "aabbRight"
},
"name": "aabbRight"
},
{
"type": "Identifier",
"start": 3238,
"end": 3248,
"loc": {
"start": {
"line": 109,
"column": 46
},
"end": {
"line": 109,
"column": 56
},
"identifierName": "entityAABB"
},
"name": "entityAABB"
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 3251,
"end": 3357,
"loc": {
"start": {
"line": 109,
"column": 59
},
"end": {
"line": 112,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3269,
"end": 3319,
"loc": {
"start": {
"line": 110,
"column": 16
},
"end": {
"line": 110,
"column": 66
}
},
"expression": {
"type": "CallExpression",
"start": 3269,
"end": 3318,
"loc": {
"start": {
"line": 110,
"column": 16
},
"end": {
"line": 110,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 3269,
"end": 3287,
"loc": {
"start": {
"line": 110,
"column": 16
},
"end": {
"line": 110,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 3269,
"end": 3273,
"loc": {
"start": {
"line": 110,
"column": 16
},
"end": {
"line": 110,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 3274,
"end": 3287,
"loc": {
"start": {
"line": 110,
"column": 21
},
"end": {
"line": 110,
"column": 34
},
"identifierName": "_insertEntity"
},
"name": "_insertEntity"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3288,
"end": 3298,
"loc": {
"start": {
"line": 110,
"column": 35
},
"end": {
"line": 110,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 3288,
"end": 3292,
"loc": {
"start": {
"line": 110,
"column": 35
},
"end": {
"line": 110,
"column": 39
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 3293,
"end": 3298,
"loc": {
"start": {
"line": 110,
"column": 40
},
"end": {
"line": 110,
"column": 45
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
},
{
"type": "Identifier",
"start": 3300,
"end": 3306,
"loc": {
"start": {
"line": 110,
"column": 47
},
"end": {
"line": 110,
"column": 53
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "BinaryExpression",
"start": 3308,
"end": 3317,
"loc": {
"start": {
"line": 110,
"column": 55
},
"end": {
"line": 110,
"column": 64
}
},
"left": {
"type": "Identifier",
"start": 3308,
"end": 3313,
"loc": {
"start": {
"line": 110,
"column": 55
},
"end": {
"line": 110,
"column": 60
},
"identifierName": "depth"
},
"name": "depth"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 3316,
"end": 3317,
"loc": {
"start": {
"line": 110,
"column": 63
},
"end": {
"line": 110,
"column": 64
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
]
}
},
{
"type": "ReturnStatement",
"start": 3336,
"end": 3343,
"loc": {
"start": {
"line": 111,
"column": 16
},
"end": {
"line": 111,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 3376,
"end": 3412,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 44
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3376,
"end": 3411,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 43
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3376,
"end": 3389,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 3376,
"end": 3380,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 12
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 3381,
"end": 3389,
"loc": {
"start": {
"line": 114,
"column": 13
},
"end": {
"line": 114,
"column": 21
},
"identifierName": "entities"
},
"name": "entities"
},
"computed": false
},
"right": {
"type": "LogicalExpression",
"start": 3392,
"end": 3411,
"loc": {
"start": {
"line": 114,
"column": 24
},
"end": {
"line": 114,
"column": 43
}
},
"left": {
"type": "MemberExpression",
"start": 3392,
"end": 3405,
"loc": {
"start": {
"line": 114,
"column": 24
},
"end": {
"line": 114,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 3392,
"end": 3396,
"loc": {
"start": {
"line": 114,
"column": 24
},
"end": {
"line": 114,
"column": 28
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 3397,
"end": 3405,
"loc": {
"start": {
"line": 114,
"column": 29
},
"end": {
"line": 114,
"column": 37
},
"identifierName": "entities"
},
"name": "entities"
},
"computed": false
},
"operator": "||",
"right": {
"type": "ArrayExpression",
"start": 3409,
"end": 3411,
"loc": {
"start": {
"line": 114,
"column": 41
},
"end": {
"line": 114,
"column": 43
}
},
"elements": []
}
}
}
},
{
"type": "ExpressionStatement",
"start": 3421,
"end": 3448,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 3421,
"end": 3447,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 3421,
"end": 3439,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 26
}
},
"object": {
"type": "MemberExpression",
"start": 3421,
"end": 3434,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 3421,
"end": 3425,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 12
},
"identifierName": "node"
},
"name": "node"
},
"property": {
"type": "Identifier",
"start": 3426,
"end": 3434,
"loc": {
"start": {
"line": 115,
"column": 13
},
"end": {
"line": 115,
"column": 21
},
"identifierName": "entities"
},
"name": "entities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3435,
"end": 3439,
"loc": {
"start": {
"line": 115,
"column": 22
},
"end": {
"line": 115,
"column": 26
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3440,
"end": 3446,
"loc": {
"start": {
"line": 115,
"column": 27
},
"end": {
"line": 115,
"column": 33
},
"identifierName": "entity"
},
"name": "entity"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Destroys this ObjectsKdTree3.\n ",
"start": 3460,
"end": 3508,
"loc": {
"start": {
"line": 118,
"column": 4
},
"end": {
"line": 120,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3513,
"end": 3715,
"loc": {
"start": {
"line": 121,
"column": 4
},
"end": {
"line": 127,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3513,
"end": 3520,
"loc": {
"start": {
"line": 121,
"column": 4
},
"end": {
"line": 121,
"column": 11
},
"identifierName": "destroy"
},
"name": "destroy",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3523,
"end": 3715,
"loc": {
"start": {
"line": 121,
"column": 14
},
"end": {
"line": 127,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3533,
"end": 3565,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3539,
"end": 3564,
"loc": {
"start": {
"line": 122,
"column": 14
},
"end": {
"line": 122,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 3539,
"end": 3544,
"loc": {
"start": {
"line": 122,
"column": 14
},
"end": {
"line": 122,
"column": 19
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 3547,
"end": 3564,
"loc": {
"start": {
"line": 122,
"column": 22
},
"end": {
"line": 122,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 3547,
"end": 3558,
"loc": {
"start": {
"line": 122,
"column": 22
},
"end": {
"line": 122,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 3547,
"end": 3551,
"loc": {
"start": {
"line": 122,
"column": 22
},
"end": {
"line": 122,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 3552,
"end": 3558,
"loc": {
"start": {
"line": 122,
"column": 27
},
"end": {
"line": 122,
"column": 33
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3559,
"end": 3564,
"loc": {
"start": {
"line": 122,
"column": 34
},
"end": {
"line": 122,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 3574,
"end": 3605,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 39
}
},
"expression": {
"type": "CallExpression",
"start": 3574,
"end": 3604,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 3574,
"end": 3583,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 3574,
"end": 3579,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 13
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3580,
"end": 3583,
"loc": {
"start": {
"line": 123,
"column": 14
},
"end": {
"line": 123,
"column": 17
},
"identifierName": "off"
},
"name": "off"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3584,
"end": 3603,
"loc": {
"start": {
"line": 123,
"column": 18
},
"end": {
"line": 123,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 3584,
"end": 3588,
"loc": {
"start": {
"line": 123,
"column": 18
},
"end": {
"line": 123,
"column": 22
}
}
},
"property": {
"type": "Identifier",
"start": 3589,
"end": 3603,
"loc": {
"start": {
"line": 123,
"column": 23
},
"end": {
"line": 123,
"column": 37
},
"identifierName": "_onModelLoaded"
},
"name": "_onModelLoaded"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3614,
"end": 3647,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 41
}
},
"expression": {
"type": "CallExpression",
"start": 3614,
"end": 3646,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 3614,
"end": 3623,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 3614,
"end": 3619,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 13
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 3620,
"end": 3623,
"loc": {
"start": {
"line": 124,
"column": 14
},
"end": {
"line": 124,
"column": 17
},
"identifierName": "off"
},
"name": "off"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3624,
"end": 3645,
"loc": {
"start": {
"line": 124,
"column": 18
},
"end": {
"line": 124,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 3624,
"end": 3628,
"loc": {
"start": {
"line": 124,
"column": 18
},
"end": {
"line": 124,
"column": 22
}
}
},
"property": {
"type": "Identifier",
"start": 3629,
"end": 3645,
"loc": {
"start": {
"line": 124,
"column": 23
},
"end": {
"line": 124,
"column": 39
},
"identifierName": "_onModelUnloaded"
},
"name": "_onModelUnloaded"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3656,
"end": 3674,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 26
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3656,
"end": 3673,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3656,
"end": 3666,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 3656,
"end": 3660,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3661,
"end": 3666,
"loc": {
"start": {
"line": 125,
"column": 13
},
"end": {
"line": 125,
"column": 18
},
"identifierName": "_root"
},
"name": "_root"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 3669,
"end": 3673,
"loc": {
"start": {
"line": 125,
"column": 21
},
"end": {
"line": 125,
"column": 25
}
}
}
}
},
{
"type": "ExpressionStatement",
"start": 3683,
"end": 3709,
"loc": {
"start": {
"line": 126,
"column": 8
},
"end": {
"line": 126,
"column": 34
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3683,
"end": 3708,
"loc": {
"start": {
"line": 126,
"column": 8
},
"end": {
"line": 126,
"column": 33
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3683,
"end": 3701,
"loc": {
"start": {
"line": 126,
"column": 8
},
"end": {
"line": 126,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 3683,
"end": 3687,
"loc": {
"start": {
"line": 126,
"column": 8
},
"end": {
"line": 126,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3688,
"end": 3701,
"loc": {
"start": {
"line": 126,
"column": 13
},
"end": {
"line": 126,
"column": 26
},
"identifierName": "_needsRebuild"
},
"name": "_needsRebuild"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 3704,
"end": 3708,
"loc": {
"start": {
"line": 126,
"column": 29
},
"end": {
"line": 126,
"column": 33
}
},
"value": true
}
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Destroys this ObjectsKdTree3.\n ",
"start": 3460,
"end": 3508,
"loc": {
"start": {
"line": 118,
"column": 4
},
"end": {
"line": 120,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * A k-d tree for World-space 3D Entity collision detection with AABBs and frustums.\n ",
"start": 180,
"end": 272,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 8,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * A k-d tree for World-space 3D Entity collision detection with AABBs and frustums.\n ",
"start": 180,
"end": 272,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 8,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " Increase if greater precision needed",
"start": 94,
"end": 133,
"loc": {
"start": {
"line": 3,
"column": 30
},
"end": {
"line": 3,
"column": 69
}
}
},
{
"type": "CommentBlock",
"value": "*\n * A k-d tree for World-space 3D Entity collision detection with AABBs and frustums.\n ",
"start": 180,
"end": 272,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 8,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Gets the root ObjectsKdTree3 node.\n ",
"start": 940,
"end": 993,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 38,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Destroys this ObjectsKdTree3.\n ",
"start": 3460,
"end": 3508,
"loc": {
"start": {
"line": 118,
"column": 4
},
"end": {
"line": 120,
"column": 7
}
}
}
],
"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": "math",
"start": 8,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 12
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 12
},
"end": {
"line": 1,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 14,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "@xeokit/xeokit-sdk/dist/xeokit-sdk.es.js",
"start": 19,
"end": 61,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 61,
"end": 62,
"loc": {
"start": {
"line": 1,
"column": 61
},
"end": {
"line": 1,
"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": 64,
"end": 69,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MAX_KD_TREE_DEPTH",
"start": 70,
"end": 87,
"loc": {
"start": {
"line": 3,
"column": 6
},
"end": {
"line": 3,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 88,
"end": 89,
"loc": {
"start": {
"line": 3,
"column": 24
},
"end": {
"line": 3,
"column": 25
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 15,
"start": 90,
"end": 92,
"loc": {
"start": {
"line": 3,
"column": 26
},
"end": {
"line": 3,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 92,
"end": 93,
"loc": {
"start": {
"line": 3,
"column": 28
},
"end": {
"line": 3,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " Increase if greater precision needed",
"start": 94,
"end": 133,
"loc": {
"start": {
"line": 3,
"column": 30
},
"end": {
"line": 3,
"column": 69
}
}
},
{
"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": 134,
"end": 139,
"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": "kdTreeDimLength",
"start": 140,
"end": 155,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 156,
"end": 157,
"loc": {
"start": {
"line": 4,
"column": 22
},
"end": {
"line": 4,
"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": 158,
"end": 161,
"loc": {
"start": {
"line": 4,
"column": 24
},
"end": {
"line": 4,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Float32Array",
"start": 162,
"end": 174,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 174,
"end": 175,
"loc": {
"start": {
"line": 4,
"column": 40
},
"end": {
"line": 4,
"column": 41
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 3,
"start": 175,
"end": 176,
"loc": {
"start": {
"line": 4,
"column": 41
},
"end": {
"line": 4,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 176,
"end": 177,
"loc": {
"start": {
"line": 4,
"column": 42
},
"end": {
"line": 4,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 177,
"end": 178,
"loc": {
"start": {
"line": 4,
"column": 43
},
"end": {
"line": 4,
"column": 44
}
}
},
{
"type": "CommentBlock",
"value": "*\n * A k-d tree for World-space 3D Entity collision detection with AABBs and frustums.\n ",
"start": 180,
"end": 272,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 8,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 273,
"end": 279,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 6
}
}
},
{
"type": {
"label": "class",
"keyword": "class",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "class",
"start": 280,
"end": 285,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ObjectsKdTree3",
"start": 286,
"end": 300,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 301,
"end": 302,
"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": "constructor",
"start": 308,
"end": 319,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 319,
"end": 320,
"loc": {
"start": {
"line": 11,
"column": 15
},
"end": {
"line": 11,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 320,
"end": 323,
"loc": {
"start": {
"line": 11,
"column": 16
},
"end": {
"line": 11,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 323,
"end": 324,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 325,
"end": 326,
"loc": {
"start": {
"line": 11,
"column": 21
},
"end": {
"line": 11,
"column": 22
}
}
},
{
"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": 336,
"end": 338,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 339,
"end": 340,
"loc": {
"start": {
"line": 13,
"column": 11
},
"end": {
"line": 13,
"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": 340,
"end": 341,
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 341,
"end": 344,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 344,
"end": 345,
"loc": {
"start": {
"line": 13,
"column": 16
},
"end": {
"line": 13,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 346,
"end": 347,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 19
}
}
},
{
"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": 360,
"end": 365,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 17
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Parameter expected: cfg",
"start": 366,
"end": 391,
"loc": {
"start": {
"line": 14,
"column": 18
},
"end": {
"line": 14,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 391,
"end": 392,
"loc": {
"start": {
"line": 14,
"column": 43
},
"end": {
"line": 14,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 401,
"end": 402,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"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": 412,
"end": 414,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 415,
"end": 416,
"loc": {
"start": {
"line": 17,
"column": 11
},
"end": {
"line": 17,
"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": 416,
"end": 417,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 417,
"end": 420,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 420,
"end": 421,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 421,
"end": 427,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 427,
"end": 428,
"loc": {
"start": {
"line": 17,
"column": 23
},
"end": {
"line": 17,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 429,
"end": 430,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 26
}
}
},
{
"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": 443,
"end": 448,
"loc": {
"start": {
"line": 18,
"column": 12
},
"end": {
"line": 18,
"column": 17
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Parameter expected: cfg.viewer",
"start": 449,
"end": 481,
"loc": {
"start": {
"line": 18,
"column": 18
},
"end": {
"line": 18,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 481,
"end": 482,
"loc": {
"start": {
"line": 18,
"column": 50
},
"end": {
"line": 18,
"column": 51
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 491,
"end": 492,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 9
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 502,
"end": 506,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 506,
"end": 507,
"loc": {
"start": {
"line": 21,
"column": 12
},
"end": {
"line": 21,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 507,
"end": 513,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 514,
"end": 515,
"loc": {
"start": {
"line": 21,
"column": 20
},
"end": {
"line": 21,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 516,
"end": 519,
"loc": {
"start": {
"line": 21,
"column": 22
},
"end": {
"line": 21,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 519,
"end": 520,
"loc": {
"start": {
"line": 21,
"column": 25
},
"end": {
"line": 21,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 520,
"end": 526,
"loc": {
"start": {
"line": 21,
"column": 26
},
"end": {
"line": 21,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 526,
"end": 527,
"loc": {
"start": {
"line": 21,
"column": 32
},
"end": {
"line": 21,
"column": 33
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 537,
"end": 541,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 541,
"end": 542,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_maxTreeDepth",
"start": 542,
"end": 555,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 556,
"end": 557,
"loc": {
"start": {
"line": 23,
"column": 27
},
"end": {
"line": 23,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 558,
"end": 561,
"loc": {
"start": {
"line": 23,
"column": 29
},
"end": {
"line": 23,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 561,
"end": 562,
"loc": {
"start": {
"line": 23,
"column": 32
},
"end": {
"line": 23,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxTreeDepth",
"start": 562,
"end": 574,
"loc": {
"start": {
"line": 23,
"column": 33
},
"end": {
"line": 23,
"column": 45
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 575,
"end": 577,
"loc": {
"start": {
"line": 23,
"column": 46
},
"end": {
"line": 23,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MAX_KD_TREE_DEPTH",
"start": 578,
"end": 595,
"loc": {
"start": {
"line": 23,
"column": 49
},
"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": 595,
"end": 596,
"loc": {
"start": {
"line": 23,
"column": 66
},
"end": {
"line": 23,
"column": 67
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 605,
"end": 609,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 609,
"end": 610,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_root",
"start": 610,
"end": 615,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 616,
"end": 617,
"loc": {
"start": {
"line": 24,
"column": 19
},
"end": {
"line": 24,
"column": 20
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 618,
"end": 622,
"loc": {
"start": {
"line": 24,
"column": 21
},
"end": {
"line": 24,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 622,
"end": 623,
"loc": {
"start": {
"line": 24,
"column": 25
},
"end": {
"line": 24,
"column": 26
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 632,
"end": 636,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 636,
"end": 637,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_needsRebuild",
"start": 637,
"end": 650,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 651,
"end": 652,
"loc": {
"start": {
"line": 25,
"column": 27
},
"end": {
"line": 25,
"column": 28
}
}
},
{
"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": 653,
"end": 657,
"loc": {
"start": {
"line": 25,
"column": 29
},
"end": {
"line": 25,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 657,
"end": 658,
"loc": {
"start": {
"line": 25,
"column": 33
},
"end": {
"line": 25,
"column": 34
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 668,
"end": 672,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 672,
"end": 673,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onModelLoaded",
"start": 673,
"end": 687,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 688,
"end": 689,
"loc": {
"start": {
"line": 27,
"column": 28
},
"end": {
"line": 27,
"column": 29
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 690,
"end": 694,
"loc": {
"start": {
"line": 27,
"column": 30
},
"end": {
"line": 27,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 694,
"end": 695,
"loc": {
"start": {
"line": 27,
"column": 34
},
"end": {
"line": 27,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 695,
"end": 701,
"loc": {
"start": {
"line": 27,
"column": 35
},
"end": {
"line": 27,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 701,
"end": 702,
"loc": {
"start": {
"line": 27,
"column": 41
},
"end": {
"line": 27,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 702,
"end": 707,
"loc": {
"start": {
"line": 27,
"column": 42
},
"end": {
"line": 27,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 707,
"end": 708,
"loc": {
"start": {
"line": 27,
"column": 47
},
"end": {
"line": 27,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 708,
"end": 710,
"loc": {
"start": {
"line": 27,
"column": 48
},
"end": {
"line": 27,
"column": 50
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 710,
"end": 711,
"loc": {
"start": {
"line": 27,
"column": 50
},
"end": {
"line": 27,
"column": 51
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "modelLoaded",
"start": 711,
"end": 724,
"loc": {
"start": {
"line": 27,
"column": 51
},
"end": {
"line": 27,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 724,
"end": 725,
"loc": {
"start": {
"line": 27,
"column": 64
},
"end": {
"line": 27,
"column": 65
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 726,
"end": 727,
"loc": {
"start": {
"line": 27,
"column": 66
},
"end": {
"line": 27,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 727,
"end": 734,
"loc": {
"start": {
"line": 27,
"column": 67
},
"end": {
"line": 27,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 734,
"end": 735,
"loc": {
"start": {
"line": 27,
"column": 74
},
"end": {
"line": 27,
"column": 75
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 736,
"end": 738,
"loc": {
"start": {
"line": 27,
"column": 76
},
"end": {
"line": 27,
"column": 78
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 739,
"end": 740,
"loc": {
"start": {
"line": 27,
"column": 79
},
"end": {
"line": 27,
"column": 80
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 753,
"end": 757,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 757,
"end": 758,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_needsRebuild",
"start": 758,
"end": 771,
"loc": {
"start": {
"line": 28,
"column": 17
},
"end": {
"line": 28,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 772,
"end": 773,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 32
}
}
},
{
"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": 774,
"end": 778,
"loc": {
"start": {
"line": 28,
"column": 33
},
"end": {
"line": 28,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 778,
"end": 779,
"loc": {
"start": {
"line": 28,
"column": 37
},
"end": {
"line": 28,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 788,
"end": 789,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 789,
"end": 790,
"loc": {
"start": {
"line": 29,
"column": 9
},
"end": {
"line": 29,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 790,
"end": 791,
"loc": {
"start": {
"line": 29,
"column": 10
},
"end": {
"line": 29,
"column": 11
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 801,
"end": 805,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 805,
"end": 806,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 31,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onModelUnloaded",
"start": 806,
"end": 822,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 823,
"end": 824,
"loc": {
"start": {
"line": 31,
"column": 30
},
"end": {
"line": 31,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 825,
"end": 829,
"loc": {
"start": {
"line": 31,
"column": 32
},
"end": {
"line": 31,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 829,
"end": 830,
"loc": {
"start": {
"line": 31,
"column": 36
},
"end": {
"line": 31,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 830,
"end": 836,
"loc": {
"start": {
"line": 31,
"column": 37
},
"end": {
"line": 31,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 836,
"end": 837,
"loc": {
"start": {
"line": 31,
"column": 43
},
"end": {
"line": 31,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 837,
"end": 842,
"loc": {
"start": {
"line": 31,
"column": 44
},
"end": {
"line": 31,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 842,
"end": 843,
"loc": {
"start": {
"line": 31,
"column": 49
},
"end": {
"line": 31,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 843,
"end": 845,
"loc": {
"start": {
"line": 31,
"column": 50
},
"end": {
"line": 31,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 845,
"end": 846,
"loc": {
"start": {
"line": 31,
"column": 52
},
"end": {
"line": 31,
"column": 53
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "modelUnloaded",
"start": 846,
"end": 861,
"loc": {
"start": {
"line": 31,
"column": 53
},
"end": {
"line": 31,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 861,
"end": 862,
"loc": {
"start": {
"line": 31,
"column": 68
},
"end": {
"line": 31,
"column": 69
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 863,
"end": 864,
"loc": {
"start": {
"line": 31,
"column": 70
},
"end": {
"line": 31,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modelId",
"start": 864,
"end": 871,
"loc": {
"start": {
"line": 31,
"column": 71
},
"end": {
"line": 31,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 871,
"end": 872,
"loc": {
"start": {
"line": 31,
"column": 78
},
"end": {
"line": 31,
"column": 79
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 873,
"end": 875,
"loc": {
"start": {
"line": 31,
"column": 80
},
"end": {
"line": 31,
"column": 82
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 876,
"end": 877,
"loc": {
"start": {
"line": 31,
"column": 83
},
"end": {
"line": 31,
"column": 84
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 890,
"end": 894,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 894,
"end": 895,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_needsRebuild",
"start": 895,
"end": 908,
"loc": {
"start": {
"line": 32,
"column": 17
},
"end": {
"line": 32,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 909,
"end": 910,
"loc": {
"start": {
"line": 32,
"column": 31
},
"end": {
"line": 32,
"column": 32
}
}
},
{
"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": 911,
"end": 915,
"loc": {
"start": {
"line": 32,
"column": 33
},
"end": {
"line": 32,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 915,
"end": 916,
"loc": {
"start": {
"line": 32,
"column": 37
},
"end": {
"line": 32,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 925,
"end": 926,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 926,
"end": 927,
"loc": {
"start": {
"line": 33,
"column": 9
},
"end": {
"line": 33,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 927,
"end": 928,
"loc": {
"start": {
"line": 33,
"column": 10
},
"end": {
"line": 33,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 933,
"end": 934,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Gets the root ObjectsKdTree3 node.\n ",
"start": 940,
"end": 993,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 38,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 998,
"end": 1001,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1002,
"end": 1006,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1006,
"end": 1007,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1007,
"end": 1008,
"loc": {
"start": {
"line": 39,
"column": 13
},
"end": {
"line": 39,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1009,
"end": 1010,
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 39,
"column": 16
}
}
},
{
"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": 1019,
"end": 1021,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1022,
"end": 1023,
"loc": {
"start": {
"line": 40,
"column": 11
},
"end": {
"line": 40,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1023,
"end": 1027,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1027,
"end": 1028,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_needsRebuild",
"start": 1028,
"end": 1041,
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1041,
"end": 1042,
"loc": {
"start": {
"line": 40,
"column": 30
},
"end": {
"line": 40,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1043,
"end": 1044,
"loc": {
"start": {
"line": 40,
"column": 32
},
"end": {
"line": 40,
"column": 33
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1057,
"end": 1061,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1061,
"end": 1062,
"loc": {
"start": {
"line": 41,
"column": 16
},
"end": {
"line": 41,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_rebuild",
"start": 1062,
"end": 1070,
"loc": {
"start": {
"line": 41,
"column": 17
},
"end": {
"line": 41,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1070,
"end": 1071,
"loc": {
"start": {
"line": 41,
"column": 25
},
"end": {
"line": 41,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1071,
"end": 1072,
"loc": {
"start": {
"line": 41,
"column": 26
},
"end": {
"line": 41,
"column": 27
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1072,
"end": 1073,
"loc": {
"start": {
"line": 41,
"column": 27
},
"end": {
"line": 41,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1082,
"end": 1083,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 9
}
}
},
{
"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": 1092,
"end": 1098,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 14
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1099,
"end": 1103,
"loc": {
"start": {
"line": 43,
"column": 15
},
"end": {
"line": 43,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1103,
"end": 1104,
"loc": {
"start": {
"line": 43,
"column": 19
},
"end": {
"line": 43,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_root",
"start": 1104,
"end": 1109,
"loc": {
"start": {
"line": 43,
"column": 20
},
"end": {
"line": 43,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1109,
"end": 1110,
"loc": {
"start": {
"line": 43,
"column": 25
},
"end": {
"line": 43,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1115,
"end": 1116,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_rebuild",
"start": 1122,
"end": 1130,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1130,
"end": 1131,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1131,
"end": 1132,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1133,
"end": 1134,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 16
}
}
},
{
"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": 1143,
"end": 1148,
"loc": {
"start": {
"line": 47,
"column": 8
},
"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": "viewer",
"start": 1149,
"end": 1155,
"loc": {
"start": {
"line": 47,
"column": 14
},
"end": {
"line": 47,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1156,
"end": 1157,
"loc": {
"start": {
"line": 47,
"column": 21
},
"end": {
"line": 47,
"column": 22
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1158,
"end": 1162,
"loc": {
"start": {
"line": 47,
"column": 23
},
"end": {
"line": 47,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1162,
"end": 1163,
"loc": {
"start": {
"line": 47,
"column": 27
},
"end": {
"line": 47,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1163,
"end": 1169,
"loc": {
"start": {
"line": 47,
"column": 28
},
"end": {
"line": 47,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1169,
"end": 1170,
"loc": {
"start": {
"line": 47,
"column": 34
},
"end": {
"line": 47,
"column": 35
}
}
},
{
"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": 1179,
"end": 1184,
"loc": {
"start": {
"line": 48,
"column": 8
},
"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": "scene",
"start": 1185,
"end": 1190,
"loc": {
"start": {
"line": 48,
"column": 14
},
"end": {
"line": 48,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1191,
"end": 1192,
"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": "viewer",
"start": 1193,
"end": 1199,
"loc": {
"start": {
"line": 48,
"column": 22
},
"end": {
"line": 48,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1199,
"end": 1200,
"loc": {
"start": {
"line": 48,
"column": 28
},
"end": {
"line": 48,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1200,
"end": 1205,
"loc": {
"start": {
"line": 48,
"column": 29
},
"end": {
"line": 48,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1205,
"end": 1206,
"loc": {
"start": {
"line": 48,
"column": 34
},
"end": {
"line": 48,
"column": 35
}
}
},
{
"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": 1215,
"end": 1220,
"loc": {
"start": {
"line": 49,
"column": 8
},
"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": "depth",
"start": 1221,
"end": 1226,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1227,
"end": 1228,
"loc": {
"start": {
"line": 49,
"column": 20
},
"end": {
"line": 49,
"column": 21
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1229,
"end": 1230,
"loc": {
"start": {
"line": 49,
"column": 22
},
"end": {
"line": 49,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1230,
"end": 1231,
"loc": {
"start": {
"line": 49,
"column": 23
},
"end": {
"line": 49,
"column": 24
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1240,
"end": 1244,
"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": 1244,
"end": 1245,
"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": "_root",
"start": 1245,
"end": 1250,
"loc": {
"start": {
"line": 50,
"column": 13
},
"end": {
"line": 50,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1251,
"end": 1252,
"loc": {
"start": {
"line": 50,
"column": 19
},
"end": {
"line": 50,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1253,
"end": 1254,
"loc": {
"start": {
"line": 50,
"column": 21
},
"end": {
"line": 50,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 1267,
"end": 1271,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1271,
"end": 1272,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 51,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1273,
"end": 1278,
"loc": {
"start": {
"line": 51,
"column": 18
},
"end": {
"line": 51,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1278,
"end": 1279,
"loc": {
"start": {
"line": 51,
"column": 23
},
"end": {
"line": 51,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAABB",
"start": 1279,
"end": 1286,
"loc": {
"start": {
"line": 51,
"column": 24
},
"end": {
"line": 51,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1286,
"end": 1287,
"loc": {
"start": {
"line": 51,
"column": 31
},
"end": {
"line": 51,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1287,
"end": 1288,
"loc": {
"start": {
"line": 51,
"column": 32
},
"end": {
"line": 51,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1297,
"end": 1298,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1298,
"end": 1299,
"loc": {
"start": {
"line": 52,
"column": 9
},
"end": {
"line": 52,
"column": 10
}
}
},
{
"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": 1308,
"end": 1311,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1312,
"end": 1313,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"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": 1313,
"end": 1316,
"loc": {
"start": {
"line": 53,
"column": 13
},
"end": {
"line": 53,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "objectId",
"start": 1317,
"end": 1325,
"loc": {
"start": {
"line": 53,
"column": 17
},
"end": {
"line": 53,
"column": 25
}
}
},
{
"type": {
"label": "in",
"keyword": "in",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "in",
"start": 1326,
"end": 1328,
"loc": {
"start": {
"line": 53,
"column": 26
},
"end": {
"line": 53,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1329,
"end": 1334,
"loc": {
"start": {
"line": 53,
"column": 29
},
"end": {
"line": 53,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1334,
"end": 1335,
"loc": {
"start": {
"line": 53,
"column": 34
},
"end": {
"line": 53,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "objects",
"start": 1335,
"end": 1342,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 53,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1342,
"end": 1343,
"loc": {
"start": {
"line": 53,
"column": 42
},
"end": {
"line": 53,
"column": 43
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1344,
"end": 1345,
"loc": {
"start": {
"line": 53,
"column": 44
},
"end": {
"line": 53,
"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": 1358,
"end": 1363,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1364,
"end": 1370,
"loc": {
"start": {
"line": 54,
"column": 18
},
"end": {
"line": 54,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1371,
"end": 1372,
"loc": {
"start": {
"line": 54,
"column": 25
},
"end": {
"line": 54,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1373,
"end": 1378,
"loc": {
"start": {
"line": 54,
"column": 27
},
"end": {
"line": 54,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1378,
"end": 1379,
"loc": {
"start": {
"line": 54,
"column": 32
},
"end": {
"line": 54,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "objects",
"start": 1379,
"end": 1386,
"loc": {
"start": {
"line": 54,
"column": 33
},
"end": {
"line": 54,
"column": 40
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1386,
"end": 1387,
"loc": {
"start": {
"line": 54,
"column": 40
},
"end": {
"line": 54,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "objectId",
"start": 1387,
"end": 1395,
"loc": {
"start": {
"line": 54,
"column": 41
},
"end": {
"line": 54,
"column": 49
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1395,
"end": 1396,
"loc": {
"start": {
"line": 54,
"column": 49
},
"end": {
"line": 54,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1396,
"end": 1397,
"loc": {
"start": {
"line": 54,
"column": 50
},
"end": {
"line": 54,
"column": 51
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1410,
"end": 1414,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1414,
"end": 1415,
"loc": {
"start": {
"line": 55,
"column": 16
},
"end": {
"line": 55,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_insertEntity",
"start": 1415,
"end": 1428,
"loc": {
"start": {
"line": 55,
"column": 17
},
"end": {
"line": 55,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1428,
"end": 1429,
"loc": {
"start": {
"line": 55,
"column": 30
},
"end": {
"line": 55,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1429,
"end": 1433,
"loc": {
"start": {
"line": 55,
"column": 31
},
"end": {
"line": 55,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1433,
"end": 1434,
"loc": {
"start": {
"line": 55,
"column": 35
},
"end": {
"line": 55,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_root",
"start": 1434,
"end": 1439,
"loc": {
"start": {
"line": 55,
"column": 36
},
"end": {
"line": 55,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1439,
"end": 1440,
"loc": {
"start": {
"line": 55,
"column": 41
},
"end": {
"line": 55,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1441,
"end": 1447,
"loc": {
"start": {
"line": 55,
"column": 43
},
"end": {
"line": 55,
"column": 49
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1447,
"end": 1448,
"loc": {
"start": {
"line": 55,
"column": 49
},
"end": {
"line": 55,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "depth",
"start": 1449,
"end": 1454,
"loc": {
"start": {
"line": 55,
"column": 51
},
"end": {
"line": 55,
"column": 56
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1455,
"end": 1456,
"loc": {
"start": {
"line": 55,
"column": 57
},
"end": {
"line": 55,
"column": 58
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 1457,
"end": 1458,
"loc": {
"start": {
"line": 55,
"column": 59
},
"end": {
"line": 55,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1458,
"end": 1459,
"loc": {
"start": {
"line": 55,
"column": 60
},
"end": {
"line": 55,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1459,
"end": 1460,
"loc": {
"start": {
"line": 55,
"column": 61
},
"end": {
"line": 55,
"column": 62
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1469,
"end": 1470,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 9
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1479,
"end": 1483,
"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": 1483,
"end": 1484,
"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": "_needsRebuild",
"start": 1484,
"end": 1497,
"loc": {
"start": {
"line": 57,
"column": 13
},
"end": {
"line": 57,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1498,
"end": 1499,
"loc": {
"start": {
"line": 57,
"column": 27
},
"end": {
"line": 57,
"column": 28
}
}
},
{
"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": 1500,
"end": 1505,
"loc": {
"start": {
"line": 57,
"column": 29
},
"end": {
"line": 57,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1505,
"end": 1506,
"loc": {
"start": {
"line": 57,
"column": 34
},
"end": {
"line": 57,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1511,
"end": 1512,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 58,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_insertEntity",
"start": 1518,
"end": 1531,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1531,
"end": 1532,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 1532,
"end": 1536,
"loc": {
"start": {
"line": 60,
"column": 18
},
"end": {
"line": 60,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1536,
"end": 1537,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 60,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1538,
"end": 1544,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 60,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1544,
"end": 1545,
"loc": {
"start": {
"line": 60,
"column": 30
},
"end": {
"line": 60,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "depth",
"start": 1546,
"end": 1551,
"loc": {
"start": {
"line": 60,
"column": 32
},
"end": {
"line": 60,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1551,
"end": 1552,
"loc": {
"start": {
"line": 60,
"column": 37
},
"end": {
"line": 60,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1553,
"end": 1554,
"loc": {
"start": {
"line": 60,
"column": 39
},
"end": {
"line": 60,
"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": 1564,
"end": 1569,
"loc": {
"start": {
"line": 62,
"column": 8
},
"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": "entityAABB",
"start": 1570,
"end": 1580,
"loc": {
"start": {
"line": 62,
"column": 14
},
"end": {
"line": 62,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1581,
"end": 1582,
"loc": {
"start": {
"line": 62,
"column": 25
},
"end": {
"line": 62,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1583,
"end": 1589,
"loc": {
"start": {
"line": 62,
"column": 27
},
"end": {
"line": 62,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1589,
"end": 1590,
"loc": {
"start": {
"line": 62,
"column": 33
},
"end": {
"line": 62,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 1590,
"end": 1594,
"loc": {
"start": {
"line": 62,
"column": 34
},
"end": {
"line": 62,
"column": 38
}
}
},
{
"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": 62,
"column": 38
},
"end": {
"line": 62,
"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": 1605,
"end": 1607,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1608,
"end": 1609,
"loc": {
"start": {
"line": 64,
"column": 11
},
"end": {
"line": 64,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "depth",
"start": 1609,
"end": 1614,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 17
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">=",
"start": 1615,
"end": 1617,
"loc": {
"start": {
"line": 64,
"column": 18
},
"end": {
"line": 64,
"column": 20
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1618,
"end": 1622,
"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": 1622,
"end": 1623,
"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": "_maxTreeDepth",
"start": 1623,
"end": 1636,
"loc": {
"start": {
"line": 64,
"column": 26
},
"end": {
"line": 64,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1636,
"end": 1637,
"loc": {
"start": {
"line": 64,
"column": 39
},
"end": {
"line": 64,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1638,
"end": 1639,
"loc": {
"start": {
"line": 64,
"column": 41
},
"end": {
"line": 64,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 1652,
"end": 1656,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1656,
"end": 1657,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 1657,
"end": 1665,
"loc": {
"start": {
"line": 65,
"column": 17
},
"end": {
"line": 65,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1666,
"end": 1667,
"loc": {
"start": {
"line": 65,
"column": 26
},
"end": {
"line": 65,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 1668,
"end": 1672,
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 65,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1672,
"end": 1673,
"loc": {
"start": {
"line": 65,
"column": 32
},
"end": {
"line": 65,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 1673,
"end": 1681,
"loc": {
"start": {
"line": 65,
"column": 33
},
"end": {
"line": 65,
"column": 41
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1682,
"end": 1684,
"loc": {
"start": {
"line": 65,
"column": 42
},
"end": {
"line": 65,
"column": 44
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1685,
"end": 1686,
"loc": {
"start": {
"line": 65,
"column": 45
},
"end": {
"line": 65,
"column": 46
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1686,
"end": 1687,
"loc": {
"start": {
"line": 65,
"column": 46
},
"end": {
"line": 65,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1687,
"end": 1688,
"loc": {
"start": {
"line": 65,
"column": 47
},
"end": {
"line": 65,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 1701,
"end": 1705,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1705,
"end": 1706,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 1706,
"end": 1714,
"loc": {
"start": {
"line": 66,
"column": 17
},
"end": {
"line": 66,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1714,
"end": 1715,
"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": "push",
"start": 1715,
"end": 1719,
"loc": {
"start": {
"line": 66,
"column": 26
},
"end": {
"line": 66,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1719,
"end": 1720,
"loc": {
"start": {
"line": 66,
"column": 30
},
"end": {
"line": 66,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1720,
"end": 1726,
"loc": {
"start": {
"line": 66,
"column": 31
},
"end": {
"line": 66,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1726,
"end": 1727,
"loc": {
"start": {
"line": 66,
"column": 37
},
"end": {
"line": 66,
"column": 38
}
}
},
{
"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": 66,
"column": 38
},
"end": {
"line": 66,
"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": 1741,
"end": 1747,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1747,
"end": 1748,
"loc": {
"start": {
"line": 67,
"column": 18
},
"end": {
"line": 67,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1757,
"end": 1758,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"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": 1767,
"end": 1769,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1770,
"end": 1771,
"loc": {
"start": {
"line": 69,
"column": 11
},
"end": {
"line": 69,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 1771,
"end": 1775,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1775,
"end": 1776,
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 1776,
"end": 1780,
"loc": {
"start": {
"line": 69,
"column": 17
},
"end": {
"line": 69,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1780,
"end": 1781,
"loc": {
"start": {
"line": 69,
"column": 21
},
"end": {
"line": 69,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1782,
"end": 1783,
"loc": {
"start": {
"line": 69,
"column": 23
},
"end": {
"line": 69,
"column": 24
}
}
},
{
"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": 1796,
"end": 1798,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1799,
"end": 1800,
"loc": {
"start": {
"line": 70,
"column": 15
},
"end": {
"line": 70,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 1800,
"end": 1804,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1804,
"end": 1805,
"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": "containsAABB3",
"start": 1805,
"end": 1818,
"loc": {
"start": {
"line": 70,
"column": 21
},
"end": {
"line": 70,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1818,
"end": 1819,
"loc": {
"start": {
"line": 70,
"column": 34
},
"end": {
"line": 70,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 1819,
"end": 1823,
"loc": {
"start": {
"line": 70,
"column": 35
},
"end": {
"line": 70,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1823,
"end": 1824,
"loc": {
"start": {
"line": 70,
"column": 39
},
"end": {
"line": 70,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 1824,
"end": 1828,
"loc": {
"start": {
"line": 70,
"column": 40
},
"end": {
"line": 70,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1828,
"end": 1829,
"loc": {
"start": {
"line": 70,
"column": 44
},
"end": {
"line": 70,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 1829,
"end": 1833,
"loc": {
"start": {
"line": 70,
"column": 45
},
"end": {
"line": 70,
"column": 49
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1833,
"end": 1834,
"loc": {
"start": {
"line": 70,
"column": 49
},
"end": {
"line": 70,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityAABB",
"start": 1835,
"end": 1845,
"loc": {
"start": {
"line": 70,
"column": 51
},
"end": {
"line": 70,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1845,
"end": 1846,
"loc": {
"start": {
"line": 70,
"column": 61
},
"end": {
"line": 70,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1846,
"end": 1847,
"loc": {
"start": {
"line": 70,
"column": 62
},
"end": {
"line": 70,
"column": 63
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1848,
"end": 1849,
"loc": {
"start": {
"line": 70,
"column": 64
},
"end": {
"line": 70,
"column": 65
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1866,
"end": 1870,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1870,
"end": 1871,
"loc": {
"start": {
"line": 71,
"column": 20
},
"end": {
"line": 71,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_insertEntity",
"start": 1871,
"end": 1884,
"loc": {
"start": {
"line": 71,
"column": 21
},
"end": {
"line": 71,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1884,
"end": 1885,
"loc": {
"start": {
"line": 71,
"column": 34
},
"end": {
"line": 71,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 1885,
"end": 1889,
"loc": {
"start": {
"line": 71,
"column": 35
},
"end": {
"line": 71,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1889,
"end": 1890,
"loc": {
"start": {
"line": 71,
"column": 39
},
"end": {
"line": 71,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 1890,
"end": 1894,
"loc": {
"start": {
"line": 71,
"column": 40
},
"end": {
"line": 71,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1894,
"end": 1895,
"loc": {
"start": {
"line": 71,
"column": 44
},
"end": {
"line": 71,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1896,
"end": 1902,
"loc": {
"start": {
"line": 71,
"column": 46
},
"end": {
"line": 71,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1902,
"end": 1903,
"loc": {
"start": {
"line": 71,
"column": 52
},
"end": {
"line": 71,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "depth",
"start": 1904,
"end": 1909,
"loc": {
"start": {
"line": 71,
"column": 54
},
"end": {
"line": 71,
"column": 59
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1910,
"end": 1911,
"loc": {
"start": {
"line": 71,
"column": 60
},
"end": {
"line": 71,
"column": 61
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 1912,
"end": 1913,
"loc": {
"start": {
"line": 71,
"column": 62
},
"end": {
"line": 71,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1913,
"end": 1914,
"loc": {
"start": {
"line": 71,
"column": 63
},
"end": {
"line": 71,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1914,
"end": 1915,
"loc": {
"start": {
"line": 71,
"column": 64
},
"end": {
"line": 71,
"column": 65
}
}
},
{
"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": 1932,
"end": 1938,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1938,
"end": 1939,
"loc": {
"start": {
"line": 72,
"column": 22
},
"end": {
"line": 72,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1952,
"end": 1953,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1962,
"end": 1963,
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"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": 1972,
"end": 1974,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1975,
"end": 1976,
"loc": {
"start": {
"line": 75,
"column": 11
},
"end": {
"line": 75,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 1976,
"end": 1980,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1980,
"end": 1981,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 1981,
"end": 1986,
"loc": {
"start": {
"line": 75,
"column": 17
},
"end": {
"line": 75,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1986,
"end": 1987,
"loc": {
"start": {
"line": 75,
"column": 22
},
"end": {
"line": 75,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1988,
"end": 1989,
"loc": {
"start": {
"line": 75,
"column": 24
},
"end": {
"line": 75,
"column": 25
}
}
},
{
"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": 2002,
"end": 2004,
"loc": {
"start": {
"line": 76,
"column": 12
},
"end": {
"line": 76,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2005,
"end": 2006,
"loc": {
"start": {
"line": 76,
"column": 15
},
"end": {
"line": 76,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 2006,
"end": 2010,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2010,
"end": 2011,
"loc": {
"start": {
"line": 76,
"column": 20
},
"end": {
"line": 76,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "containsAABB3",
"start": 2011,
"end": 2024,
"loc": {
"start": {
"line": 76,
"column": 21
},
"end": {
"line": 76,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2024,
"end": 2025,
"loc": {
"start": {
"line": 76,
"column": 34
},
"end": {
"line": 76,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 2025,
"end": 2029,
"loc": {
"start": {
"line": 76,
"column": 35
},
"end": {
"line": 76,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2029,
"end": 2030,
"loc": {
"start": {
"line": 76,
"column": 39
},
"end": {
"line": 76,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 2030,
"end": 2035,
"loc": {
"start": {
"line": 76,
"column": 40
},
"end": {
"line": 76,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2035,
"end": 2036,
"loc": {
"start": {
"line": 76,
"column": 45
},
"end": {
"line": 76,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 2036,
"end": 2040,
"loc": {
"start": {
"line": 76,
"column": 46
},
"end": {
"line": 76,
"column": 50
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2040,
"end": 2041,
"loc": {
"start": {
"line": 76,
"column": 50
},
"end": {
"line": 76,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityAABB",
"start": 2042,
"end": 2052,
"loc": {
"start": {
"line": 76,
"column": 52
},
"end": {
"line": 76,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2052,
"end": 2053,
"loc": {
"start": {
"line": 76,
"column": 62
},
"end": {
"line": 76,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2053,
"end": 2054,
"loc": {
"start": {
"line": 76,
"column": 63
},
"end": {
"line": 76,
"column": 64
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2055,
"end": 2056,
"loc": {
"start": {
"line": 76,
"column": 65
},
"end": {
"line": 76,
"column": 66
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2073,
"end": 2077,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2077,
"end": 2078,
"loc": {
"start": {
"line": 77,
"column": 20
},
"end": {
"line": 77,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_insertEntity",
"start": 2078,
"end": 2091,
"loc": {
"start": {
"line": 77,
"column": 21
},
"end": {
"line": 77,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2091,
"end": 2092,
"loc": {
"start": {
"line": 77,
"column": 34
},
"end": {
"line": 77,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 2092,
"end": 2096,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2096,
"end": 2097,
"loc": {
"start": {
"line": 77,
"column": 39
},
"end": {
"line": 77,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 2097,
"end": 2102,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2102,
"end": 2103,
"loc": {
"start": {
"line": 77,
"column": 45
},
"end": {
"line": 77,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2104,
"end": 2110,
"loc": {
"start": {
"line": 77,
"column": 47
},
"end": {
"line": 77,
"column": 53
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2110,
"end": 2111,
"loc": {
"start": {
"line": 77,
"column": 53
},
"end": {
"line": 77,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "depth",
"start": 2112,
"end": 2117,
"loc": {
"start": {
"line": 77,
"column": 55
},
"end": {
"line": 77,
"column": 60
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2118,
"end": 2119,
"loc": {
"start": {
"line": 77,
"column": 61
},
"end": {
"line": 77,
"column": 62
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 2120,
"end": 2121,
"loc": {
"start": {
"line": 77,
"column": 63
},
"end": {
"line": 77,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2121,
"end": 2122,
"loc": {
"start": {
"line": 77,
"column": 64
},
"end": {
"line": 77,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2122,
"end": 2123,
"loc": {
"start": {
"line": 77,
"column": 65
},
"end": {
"line": 77,
"column": 66
}
}
},
{
"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": 2140,
"end": 2146,
"loc": {
"start": {
"line": 78,
"column": 16
},
"end": {
"line": 78,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2146,
"end": 2147,
"loc": {
"start": {
"line": 78,
"column": 22
},
"end": {
"line": 78,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2160,
"end": 2161,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2170,
"end": 2171,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"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": 2180,
"end": 2185,
"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": "nodeAABB",
"start": 2186,
"end": 2194,
"loc": {
"start": {
"line": 81,
"column": 14
},
"end": {
"line": 81,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2195,
"end": 2196,
"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": "node",
"start": 2197,
"end": 2201,
"loc": {
"start": {
"line": 81,
"column": 25
},
"end": {
"line": 81,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2201,
"end": 2202,
"loc": {
"start": {
"line": 81,
"column": 29
},
"end": {
"line": 81,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 2202,
"end": 2206,
"loc": {
"start": {
"line": 81,
"column": 30
},
"end": {
"line": 81,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2206,
"end": 2207,
"loc": {
"start": {
"line": 81,
"column": 34
},
"end": {
"line": 81,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "kdTreeDimLength",
"start": 2216,
"end": 2231,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 23
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2231,
"end": 2232,
"loc": {
"start": {
"line": 82,
"column": 23
},
"end": {
"line": 82,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2232,
"end": 2233,
"loc": {
"start": {
"line": 82,
"column": 24
},
"end": {
"line": 82,
"column": 25
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2233,
"end": 2234,
"loc": {
"start": {
"line": 82,
"column": 25
},
"end": {
"line": 82,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2235,
"end": 2236,
"loc": {
"start": {
"line": 82,
"column": 27
},
"end": {
"line": 82,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nodeAABB",
"start": 2237,
"end": 2245,
"loc": {
"start": {
"line": 82,
"column": 29
},
"end": {
"line": 82,
"column": 37
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2245,
"end": 2246,
"loc": {
"start": {
"line": 82,
"column": 37
},
"end": {
"line": 82,
"column": 38
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 3,
"start": 2246,
"end": 2247,
"loc": {
"start": {
"line": 82,
"column": 38
},
"end": {
"line": 82,
"column": 39
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2247,
"end": 2248,
"loc": {
"start": {
"line": 82,
"column": 39
},
"end": {
"line": 82,
"column": 40
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2249,
"end": 2250,
"loc": {
"start": {
"line": 82,
"column": 41
},
"end": {
"line": 82,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nodeAABB",
"start": 2251,
"end": 2259,
"loc": {
"start": {
"line": 82,
"column": 43
},
"end": {
"line": 82,
"column": 51
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2259,
"end": 2260,
"loc": {
"start": {
"line": 82,
"column": 51
},
"end": {
"line": 82,
"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": 2260,
"end": 2261,
"loc": {
"start": {
"line": 82,
"column": 52
},
"end": {
"line": 82,
"column": 53
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2261,
"end": 2262,
"loc": {
"start": {
"line": 82,
"column": 53
},
"end": {
"line": 82,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2262,
"end": 2263,
"loc": {
"start": {
"line": 82,
"column": 54
},
"end": {
"line": 82,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "kdTreeDimLength",
"start": 2272,
"end": 2287,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 23
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2287,
"end": 2288,
"loc": {
"start": {
"line": 83,
"column": 23
},
"end": {
"line": 83,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 2288,
"end": 2289,
"loc": {
"start": {
"line": 83,
"column": 24
},
"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": 2289,
"end": 2290,
"loc": {
"start": {
"line": 83,
"column": 25
},
"end": {
"line": 83,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2291,
"end": 2292,
"loc": {
"start": {
"line": 83,
"column": 27
},
"end": {
"line": 83,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nodeAABB",
"start": 2293,
"end": 2301,
"loc": {
"start": {
"line": 83,
"column": 29
},
"end": {
"line": 83,
"column": 37
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2301,
"end": 2302,
"loc": {
"start": {
"line": 83,
"column": 37
},
"end": {
"line": 83,
"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": 2302,
"end": 2303,
"loc": {
"start": {
"line": 83,
"column": 38
},
"end": {
"line": 83,
"column": 39
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2303,
"end": 2304,
"loc": {
"start": {
"line": 83,
"column": 39
},
"end": {
"line": 83,
"column": 40
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2305,
"end": 2306,
"loc": {
"start": {
"line": 83,
"column": 41
},
"end": {
"line": 83,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nodeAABB",
"start": 2307,
"end": 2315,
"loc": {
"start": {
"line": 83,
"column": 43
},
"end": {
"line": 83,
"column": 51
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2315,
"end": 2316,
"loc": {
"start": {
"line": 83,
"column": 51
},
"end": {
"line": 83,
"column": 52
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 2316,
"end": 2317,
"loc": {
"start": {
"line": 83,
"column": 52
},
"end": {
"line": 83,
"column": 53
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2317,
"end": 2318,
"loc": {
"start": {
"line": 83,
"column": 53
},
"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": 2318,
"end": 2319,
"loc": {
"start": {
"line": 83,
"column": 54
},
"end": {
"line": 83,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "kdTreeDimLength",
"start": 2328,
"end": 2343,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 23
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2343,
"end": 2344,
"loc": {
"start": {
"line": 84,
"column": 23
},
"end": {
"line": 84,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 2344,
"end": 2345,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 25
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2345,
"end": 2346,
"loc": {
"start": {
"line": 84,
"column": 25
},
"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": 2347,
"end": 2348,
"loc": {
"start": {
"line": 84,
"column": 27
},
"end": {
"line": 84,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nodeAABB",
"start": 2349,
"end": 2357,
"loc": {
"start": {
"line": 84,
"column": 29
},
"end": {
"line": 84,
"column": 37
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2357,
"end": 2358,
"loc": {
"start": {
"line": 84,
"column": 37
},
"end": {
"line": 84,
"column": 38
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 5,
"start": 2358,
"end": 2359,
"loc": {
"start": {
"line": 84,
"column": 38
},
"end": {
"line": 84,
"column": 39
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2359,
"end": 2360,
"loc": {
"start": {
"line": 84,
"column": 39
},
"end": {
"line": 84,
"column": 40
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2361,
"end": 2362,
"loc": {
"start": {
"line": 84,
"column": 41
},
"end": {
"line": 84,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nodeAABB",
"start": 2363,
"end": 2371,
"loc": {
"start": {
"line": 84,
"column": 43
},
"end": {
"line": 84,
"column": 51
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2371,
"end": 2372,
"loc": {
"start": {
"line": 84,
"column": 51
},
"end": {
"line": 84,
"column": 52
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 2372,
"end": 2373,
"loc": {
"start": {
"line": 84,
"column": 52
},
"end": {
"line": 84,
"column": 53
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2373,
"end": 2374,
"loc": {
"start": {
"line": 84,
"column": 53
},
"end": {
"line": 84,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2374,
"end": 2375,
"loc": {
"start": {
"line": 84,
"column": 54
},
"end": {
"line": 84,
"column": 55
}
}
},
{
"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": 2384,
"end": 2387,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dim",
"start": 2388,
"end": 2391,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2392,
"end": 2393,
"loc": {
"start": {
"line": 85,
"column": 16
},
"end": {
"line": 85,
"column": 17
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2394,
"end": 2395,
"loc": {
"start": {
"line": 85,
"column": 18
},
"end": {
"line": 85,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2395,
"end": 2396,
"loc": {
"start": {
"line": 85,
"column": 19
},
"end": {
"line": 85,
"column": 20
}
}
},
{
"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": 2405,
"end": 2407,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2408,
"end": 2409,
"loc": {
"start": {
"line": 86,
"column": 11
},
"end": {
"line": 86,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "kdTreeDimLength",
"start": 2409,
"end": 2424,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 27
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2424,
"end": 2425,
"loc": {
"start": {
"line": 86,
"column": 27
},
"end": {
"line": 86,
"column": 28
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 2425,
"end": 2426,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 29
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2426,
"end": 2427,
"loc": {
"start": {
"line": 86,
"column": 29
},
"end": {
"line": 86,
"column": 30
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 2428,
"end": 2429,
"loc": {
"start": {
"line": 86,
"column": 31
},
"end": {
"line": 86,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "kdTreeDimLength",
"start": 2430,
"end": 2445,
"loc": {
"start": {
"line": 86,
"column": 33
},
"end": {
"line": 86,
"column": 48
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2445,
"end": 2446,
"loc": {
"start": {
"line": 86,
"column": 48
},
"end": {
"line": 86,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dim",
"start": 2446,
"end": 2449,
"loc": {
"start": {
"line": 86,
"column": 49
},
"end": {
"line": 86,
"column": 52
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2449,
"end": 2450,
"loc": {
"start": {
"line": 86,
"column": 52
},
"end": {
"line": 86,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2450,
"end": 2451,
"loc": {
"start": {
"line": 86,
"column": 53
},
"end": {
"line": 86,
"column": 54
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2452,
"end": 2453,
"loc": {
"start": {
"line": 86,
"column": 55
},
"end": {
"line": 86,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dim",
"start": 2466,
"end": 2469,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2470,
"end": 2471,
"loc": {
"start": {
"line": 87,
"column": 16
},
"end": {
"line": 87,
"column": 17
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 2472,
"end": 2473,
"loc": {
"start": {
"line": 87,
"column": 18
},
"end": {
"line": 87,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2473,
"end": 2474,
"loc": {
"start": {
"line": 87,
"column": 19
},
"end": {
"line": 87,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2483,
"end": 2484,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"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": 2493,
"end": 2495,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2496,
"end": 2497,
"loc": {
"start": {
"line": 89,
"column": 11
},
"end": {
"line": 89,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "kdTreeDimLength",
"start": 2497,
"end": 2512,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 27
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2512,
"end": 2513,
"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": 2,
"start": 2513,
"end": 2514,
"loc": {
"start": {
"line": 89,
"column": 28
},
"end": {
"line": 89,
"column": 29
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2514,
"end": 2515,
"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": 7,
"updateContext": null
},
"value": ">",
"start": 2516,
"end": 2517,
"loc": {
"start": {
"line": 89,
"column": 31
},
"end": {
"line": 89,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "kdTreeDimLength",
"start": 2518,
"end": 2533,
"loc": {
"start": {
"line": 89,
"column": 33
},
"end": {
"line": 89,
"column": 48
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2533,
"end": 2534,
"loc": {
"start": {
"line": 89,
"column": 48
},
"end": {
"line": 89,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dim",
"start": 2534,
"end": 2537,
"loc": {
"start": {
"line": 89,
"column": 49
},
"end": {
"line": 89,
"column": 52
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2537,
"end": 2538,
"loc": {
"start": {
"line": 89,
"column": 52
},
"end": {
"line": 89,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2538,
"end": 2539,
"loc": {
"start": {
"line": 89,
"column": 53
},
"end": {
"line": 89,
"column": 54
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2540,
"end": 2541,
"loc": {
"start": {
"line": 89,
"column": 55
},
"end": {
"line": 89,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dim",
"start": 2554,
"end": 2557,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2558,
"end": 2559,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 17
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 2560,
"end": 2561,
"loc": {
"start": {
"line": 90,
"column": 18
},
"end": {
"line": 90,
"column": 19
}
}
},
{
"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": 90,
"column": 19
},
"end": {
"line": 90,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2571,
"end": 2572,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"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": 2581,
"end": 2583,
"loc": {
"start": {
"line": 92,
"column": 8
},
"end": {
"line": 92,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2584,
"end": 2585,
"loc": {
"start": {
"line": 92,
"column": 11
},
"end": {
"line": 92,
"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": 2585,
"end": 2586,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 2586,
"end": 2590,
"loc": {
"start": {
"line": 92,
"column": 13
},
"end": {
"line": 92,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2590,
"end": 2591,
"loc": {
"start": {
"line": 92,
"column": 17
},
"end": {
"line": 92,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 2591,
"end": 2595,
"loc": {
"start": {
"line": 92,
"column": 18
},
"end": {
"line": 92,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2595,
"end": 2596,
"loc": {
"start": {
"line": 92,
"column": 22
},
"end": {
"line": 92,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2597,
"end": 2598,
"loc": {
"start": {
"line": 92,
"column": 24
},
"end": {
"line": 92,
"column": 25
}
}
},
{
"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": 2611,
"end": 2616,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabbLeft",
"start": 2617,
"end": 2625,
"loc": {
"start": {
"line": 93,
"column": 18
},
"end": {
"line": 93,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2626,
"end": 2627,
"loc": {
"start": {
"line": 93,
"column": 27
},
"end": {
"line": 93,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nodeAABB",
"start": 2628,
"end": 2636,
"loc": {
"start": {
"line": 93,
"column": 29
},
"end": {
"line": 93,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2636,
"end": 2637,
"loc": {
"start": {
"line": 93,
"column": 37
},
"end": {
"line": 93,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slice",
"start": 2637,
"end": 2642,
"loc": {
"start": {
"line": 93,
"column": 38
},
"end": {
"line": 93,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2642,
"end": 2643,
"loc": {
"start": {
"line": 93,
"column": 43
},
"end": {
"line": 93,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2643,
"end": 2644,
"loc": {
"start": {
"line": 93,
"column": 44
},
"end": {
"line": 93,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2644,
"end": 2645,
"loc": {
"start": {
"line": 93,
"column": 45
},
"end": {
"line": 93,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabbLeft",
"start": 2658,
"end": 2666,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 20
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2666,
"end": 2667,
"loc": {
"start": {
"line": 94,
"column": 20
},
"end": {
"line": 94,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dim",
"start": 2667,
"end": 2670,
"loc": {
"start": {
"line": 94,
"column": 21
},
"end": {
"line": 94,
"column": 24
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2671,
"end": 2672,
"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": 3,
"start": 2673,
"end": 2674,
"loc": {
"start": {
"line": 94,
"column": 27
},
"end": {
"line": 94,
"column": 28
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2674,
"end": 2675,
"loc": {
"start": {
"line": 94,
"column": 28
},
"end": {
"line": 94,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2676,
"end": 2677,
"loc": {
"start": {
"line": 94,
"column": 30
},
"end": {
"line": 94,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2678,
"end": 2679,
"loc": {
"start": {
"line": 94,
"column": 32
},
"end": {
"line": 94,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2679,
"end": 2680,
"loc": {
"start": {
"line": 94,
"column": 33
},
"end": {
"line": 94,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nodeAABB",
"start": 2680,
"end": 2688,
"loc": {
"start": {
"line": 94,
"column": 34
},
"end": {
"line": 94,
"column": 42
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2688,
"end": 2689,
"loc": {
"start": {
"line": 94,
"column": 42
},
"end": {
"line": 94,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dim",
"start": 2689,
"end": 2692,
"loc": {
"start": {
"line": 94,
"column": 43
},
"end": {
"line": 94,
"column": 46
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2692,
"end": 2693,
"loc": {
"start": {
"line": 94,
"column": 46
},
"end": {
"line": 94,
"column": 47
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2694,
"end": 2695,
"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": "nodeAABB",
"start": 2696,
"end": 2704,
"loc": {
"start": {
"line": 94,
"column": 50
},
"end": {
"line": 94,
"column": 58
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2704,
"end": 2705,
"loc": {
"start": {
"line": 94,
"column": 58
},
"end": {
"line": 94,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dim",
"start": 2705,
"end": 2708,
"loc": {
"start": {
"line": 94,
"column": 59
},
"end": {
"line": 94,
"column": 62
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2709,
"end": 2710,
"loc": {
"start": {
"line": 94,
"column": 63
},
"end": {
"line": 94,
"column": 64
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 3,
"start": 2711,
"end": 2712,
"loc": {
"start": {
"line": 94,
"column": 65
},
"end": {
"line": 94,
"column": 66
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2712,
"end": 2713,
"loc": {
"start": {
"line": 94,
"column": 66
},
"end": {
"line": 94,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2713,
"end": 2714,
"loc": {
"start": {
"line": 94,
"column": 67
},
"end": {
"line": 94,
"column": 68
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 2715,
"end": 2716,
"loc": {
"start": {
"line": 94,
"column": 69
},
"end": {
"line": 94,
"column": 70
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 2717,
"end": 2720,
"loc": {
"start": {
"line": 94,
"column": 71
},
"end": {
"line": 94,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2720,
"end": 2721,
"loc": {
"start": {
"line": 94,
"column": 74
},
"end": {
"line": 94,
"column": 75
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2721,
"end": 2722,
"loc": {
"start": {
"line": 94,
"column": 75
},
"end": {
"line": 94,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 2735,
"end": 2739,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2739,
"end": 2740,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 2740,
"end": 2744,
"loc": {
"start": {
"line": 95,
"column": 17
},
"end": {
"line": 95,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2745,
"end": 2746,
"loc": {
"start": {
"line": 95,
"column": 22
},
"end": {
"line": 95,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2747,
"end": 2748,
"loc": {
"start": {
"line": 95,
"column": 24
},
"end": {
"line": 95,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 2765,
"end": 2769,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2769,
"end": 2770,
"loc": {
"start": {
"line": 96,
"column": 20
},
"end": {
"line": 96,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabbLeft",
"start": 2771,
"end": 2779,
"loc": {
"start": {
"line": 96,
"column": 22
},
"end": {
"line": 96,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2792,
"end": 2793,
"loc": {
"start": {
"line": 97,
"column": 12
},
"end": {
"line": 97,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2793,
"end": 2794,
"loc": {
"start": {
"line": 97,
"column": 13
},
"end": {
"line": 97,
"column": 14
}
}
},
{
"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": 2807,
"end": 2809,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2810,
"end": 2811,
"loc": {
"start": {
"line": 98,
"column": 15
},
"end": {
"line": 98,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 2811,
"end": 2815,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2815,
"end": 2816,
"loc": {
"start": {
"line": 98,
"column": 20
},
"end": {
"line": 98,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "containsAABB3",
"start": 2816,
"end": 2829,
"loc": {
"start": {
"line": 98,
"column": 21
},
"end": {
"line": 98,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2829,
"end": 2830,
"loc": {
"start": {
"line": 98,
"column": 34
},
"end": {
"line": 98,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabbLeft",
"start": 2830,
"end": 2838,
"loc": {
"start": {
"line": 98,
"column": 35
},
"end": {
"line": 98,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2838,
"end": 2839,
"loc": {
"start": {
"line": 98,
"column": 43
},
"end": {
"line": 98,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityAABB",
"start": 2840,
"end": 2850,
"loc": {
"start": {
"line": 98,
"column": 45
},
"end": {
"line": 98,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2850,
"end": 2851,
"loc": {
"start": {
"line": 98,
"column": 55
},
"end": {
"line": 98,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2851,
"end": 2852,
"loc": {
"start": {
"line": 98,
"column": 56
},
"end": {
"line": 98,
"column": 57
}
}
},
{
"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": 98,
"column": 58
},
"end": {
"line": 98,
"column": 59
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2871,
"end": 2875,
"loc": {
"start": {
"line": 99,
"column": 16
},
"end": {
"line": 99,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2875,
"end": 2876,
"loc": {
"start": {
"line": 99,
"column": 20
},
"end": {
"line": 99,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_insertEntity",
"start": 2876,
"end": 2889,
"loc": {
"start": {
"line": 99,
"column": 21
},
"end": {
"line": 99,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2889,
"end": 2890,
"loc": {
"start": {
"line": 99,
"column": 34
},
"end": {
"line": 99,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 2890,
"end": 2894,
"loc": {
"start": {
"line": 99,
"column": 35
},
"end": {
"line": 99,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2894,
"end": 2895,
"loc": {
"start": {
"line": 99,
"column": 39
},
"end": {
"line": 99,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 2895,
"end": 2899,
"loc": {
"start": {
"line": 99,
"column": 40
},
"end": {
"line": 99,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2899,
"end": 2900,
"loc": {
"start": {
"line": 99,
"column": 44
},
"end": {
"line": 99,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2901,
"end": 2907,
"loc": {
"start": {
"line": 99,
"column": 46
},
"end": {
"line": 99,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2907,
"end": 2908,
"loc": {
"start": {
"line": 99,
"column": 52
},
"end": {
"line": 99,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "depth",
"start": 2909,
"end": 2914,
"loc": {
"start": {
"line": 99,
"column": 54
},
"end": {
"line": 99,
"column": 59
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2915,
"end": 2916,
"loc": {
"start": {
"line": 99,
"column": 60
},
"end": {
"line": 99,
"column": 61
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 2917,
"end": 2918,
"loc": {
"start": {
"line": 99,
"column": 62
},
"end": {
"line": 99,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2918,
"end": 2919,
"loc": {
"start": {
"line": 99,
"column": 63
},
"end": {
"line": 99,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2919,
"end": 2920,
"loc": {
"start": {
"line": 99,
"column": 64
},
"end": {
"line": 99,
"column": 65
}
}
},
{
"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": 2937,
"end": 2943,
"loc": {
"start": {
"line": 100,
"column": 16
},
"end": {
"line": 100,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2943,
"end": 2944,
"loc": {
"start": {
"line": 100,
"column": 22
},
"end": {
"line": 100,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2957,
"end": 2958,
"loc": {
"start": {
"line": 101,
"column": 12
},
"end": {
"line": 101,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2967,
"end": 2968,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"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": 2977,
"end": 2979,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2980,
"end": 2981,
"loc": {
"start": {
"line": 103,
"column": 11
},
"end": {
"line": 103,
"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": 2981,
"end": 2982,
"loc": {
"start": {
"line": 103,
"column": 12
},
"end": {
"line": 103,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 2982,
"end": 2986,
"loc": {
"start": {
"line": 103,
"column": 13
},
"end": {
"line": 103,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2986,
"end": 2987,
"loc": {
"start": {
"line": 103,
"column": 17
},
"end": {
"line": 103,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 2987,
"end": 2992,
"loc": {
"start": {
"line": 103,
"column": 18
},
"end": {
"line": 103,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2992,
"end": 2993,
"loc": {
"start": {
"line": 103,
"column": 23
},
"end": {
"line": 103,
"column": 24
}
}
},
{
"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": 103,
"column": 25
},
"end": {
"line": 103,
"column": 26
}
}
},
{
"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": 3008,
"end": 3013,
"loc": {
"start": {
"line": 104,
"column": 12
},
"end": {
"line": 104,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabbRight",
"start": 3014,
"end": 3023,
"loc": {
"start": {
"line": 104,
"column": 18
},
"end": {
"line": 104,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3024,
"end": 3025,
"loc": {
"start": {
"line": 104,
"column": 28
},
"end": {
"line": 104,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nodeAABB",
"start": 3026,
"end": 3034,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3034,
"end": 3035,
"loc": {
"start": {
"line": 104,
"column": 38
},
"end": {
"line": 104,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slice",
"start": 3035,
"end": 3040,
"loc": {
"start": {
"line": 104,
"column": 39
},
"end": {
"line": 104,
"column": 44
}
}
},
{
"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": 104,
"column": 44
},
"end": {
"line": 104,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3041,
"end": 3042,
"loc": {
"start": {
"line": 104,
"column": 45
},
"end": {
"line": 104,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3042,
"end": 3043,
"loc": {
"start": {
"line": 104,
"column": 46
},
"end": {
"line": 104,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabbRight",
"start": 3056,
"end": 3065,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 21
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3065,
"end": 3066,
"loc": {
"start": {
"line": 105,
"column": 21
},
"end": {
"line": 105,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dim",
"start": 3066,
"end": 3069,
"loc": {
"start": {
"line": 105,
"column": 22
},
"end": {
"line": 105,
"column": 25
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3069,
"end": 3070,
"loc": {
"start": {
"line": 105,
"column": 25
},
"end": {
"line": 105,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3071,
"end": 3072,
"loc": {
"start": {
"line": 105,
"column": 27
},
"end": {
"line": 105,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3073,
"end": 3074,
"loc": {
"start": {
"line": 105,
"column": 29
},
"end": {
"line": 105,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3074,
"end": 3075,
"loc": {
"start": {
"line": 105,
"column": 30
},
"end": {
"line": 105,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nodeAABB",
"start": 3075,
"end": 3083,
"loc": {
"start": {
"line": 105,
"column": 31
},
"end": {
"line": 105,
"column": 39
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3083,
"end": 3084,
"loc": {
"start": {
"line": 105,
"column": 39
},
"end": {
"line": 105,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dim",
"start": 3084,
"end": 3087,
"loc": {
"start": {
"line": 105,
"column": 40
},
"end": {
"line": 105,
"column": 43
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3087,
"end": 3088,
"loc": {
"start": {
"line": 105,
"column": 43
},
"end": {
"line": 105,
"column": 44
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3089,
"end": 3090,
"loc": {
"start": {
"line": 105,
"column": 45
},
"end": {
"line": 105,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nodeAABB",
"start": 3091,
"end": 3099,
"loc": {
"start": {
"line": 105,
"column": 47
},
"end": {
"line": 105,
"column": 55
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3099,
"end": 3100,
"loc": {
"start": {
"line": 105,
"column": 55
},
"end": {
"line": 105,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dim",
"start": 3100,
"end": 3103,
"loc": {
"start": {
"line": 105,
"column": 56
},
"end": {
"line": 105,
"column": 59
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3104,
"end": 3105,
"loc": {
"start": {
"line": 105,
"column": 60
},
"end": {
"line": 105,
"column": 61
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 3,
"start": 3106,
"end": 3107,
"loc": {
"start": {
"line": 105,
"column": 62
},
"end": {
"line": 105,
"column": 63
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3107,
"end": 3108,
"loc": {
"start": {
"line": 105,
"column": 63
},
"end": {
"line": 105,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3108,
"end": 3109,
"loc": {
"start": {
"line": 105,
"column": 64
},
"end": {
"line": 105,
"column": 65
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 3110,
"end": 3111,
"loc": {
"start": {
"line": 105,
"column": 66
},
"end": {
"line": 105,
"column": 67
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 3112,
"end": 3115,
"loc": {
"start": {
"line": 105,
"column": 68
},
"end": {
"line": 105,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3115,
"end": 3116,
"loc": {
"start": {
"line": 105,
"column": 71
},
"end": {
"line": 105,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3116,
"end": 3117,
"loc": {
"start": {
"line": 105,
"column": 72
},
"end": {
"line": 105,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 3130,
"end": 3134,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3134,
"end": 3135,
"loc": {
"start": {
"line": 106,
"column": 16
},
"end": {
"line": 106,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 3135,
"end": 3140,
"loc": {
"start": {
"line": 106,
"column": 17
},
"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": 3141,
"end": 3142,
"loc": {
"start": {
"line": 106,
"column": 23
},
"end": {
"line": 106,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3143,
"end": 3144,
"loc": {
"start": {
"line": 106,
"column": 25
},
"end": {
"line": 106,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 3161,
"end": 3165,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3165,
"end": 3166,
"loc": {
"start": {
"line": 107,
"column": 20
},
"end": {
"line": 107,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabbRight",
"start": 3167,
"end": 3176,
"loc": {
"start": {
"line": 107,
"column": 22
},
"end": {
"line": 107,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3189,
"end": 3190,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3190,
"end": 3191,
"loc": {
"start": {
"line": 108,
"column": 13
},
"end": {
"line": 108,
"column": 14
}
}
},
{
"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": 3204,
"end": 3206,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3207,
"end": 3208,
"loc": {
"start": {
"line": 109,
"column": 15
},
"end": {
"line": 109,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 3208,
"end": 3212,
"loc": {
"start": {
"line": 109,
"column": 16
},
"end": {
"line": 109,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3212,
"end": 3213,
"loc": {
"start": {
"line": 109,
"column": 20
},
"end": {
"line": 109,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "containsAABB3",
"start": 3213,
"end": 3226,
"loc": {
"start": {
"line": 109,
"column": 21
},
"end": {
"line": 109,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3226,
"end": 3227,
"loc": {
"start": {
"line": 109,
"column": 34
},
"end": {
"line": 109,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabbRight",
"start": 3227,
"end": 3236,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3236,
"end": 3237,
"loc": {
"start": {
"line": 109,
"column": 44
},
"end": {
"line": 109,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityAABB",
"start": 3238,
"end": 3248,
"loc": {
"start": {
"line": 109,
"column": 46
},
"end": {
"line": 109,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3248,
"end": 3249,
"loc": {
"start": {
"line": 109,
"column": 56
},
"end": {
"line": 109,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3249,
"end": 3250,
"loc": {
"start": {
"line": 109,
"column": 57
},
"end": {
"line": 109,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3251,
"end": 3252,
"loc": {
"start": {
"line": 109,
"column": 59
},
"end": {
"line": 109,
"column": 60
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3269,
"end": 3273,
"loc": {
"start": {
"line": 110,
"column": 16
},
"end": {
"line": 110,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3273,
"end": 3274,
"loc": {
"start": {
"line": 110,
"column": 20
},
"end": {
"line": 110,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_insertEntity",
"start": 3274,
"end": 3287,
"loc": {
"start": {
"line": 110,
"column": 21
},
"end": {
"line": 110,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3287,
"end": 3288,
"loc": {
"start": {
"line": 110,
"column": 34
},
"end": {
"line": 110,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 3288,
"end": 3292,
"loc": {
"start": {
"line": 110,
"column": 35
},
"end": {
"line": 110,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3292,
"end": 3293,
"loc": {
"start": {
"line": 110,
"column": 39
},
"end": {
"line": 110,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 3293,
"end": 3298,
"loc": {
"start": {
"line": 110,
"column": 40
},
"end": {
"line": 110,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3298,
"end": 3299,
"loc": {
"start": {
"line": 110,
"column": 45
},
"end": {
"line": 110,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3300,
"end": 3306,
"loc": {
"start": {
"line": 110,
"column": 47
},
"end": {
"line": 110,
"column": 53
}
}
},
{
"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": 110,
"column": 53
},
"end": {
"line": 110,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "depth",
"start": 3308,
"end": 3313,
"loc": {
"start": {
"line": 110,
"column": 55
},
"end": {
"line": 110,
"column": 60
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3314,
"end": 3315,
"loc": {
"start": {
"line": 110,
"column": 61
},
"end": {
"line": 110,
"column": 62
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3316,
"end": 3317,
"loc": {
"start": {
"line": 110,
"column": 63
},
"end": {
"line": 110,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3317,
"end": 3318,
"loc": {
"start": {
"line": 110,
"column": 64
},
"end": {
"line": 110,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3318,
"end": 3319,
"loc": {
"start": {
"line": 110,
"column": 65
},
"end": {
"line": 110,
"column": 66
}
}
},
{
"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": 3336,
"end": 3342,
"loc": {
"start": {
"line": 111,
"column": 16
},
"end": {
"line": 111,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3342,
"end": 3343,
"loc": {
"start": {
"line": 111,
"column": 22
},
"end": {
"line": 111,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3356,
"end": 3357,
"loc": {
"start": {
"line": 112,
"column": 12
},
"end": {
"line": 112,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3366,
"end": 3367,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 3376,
"end": 3380,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3380,
"end": 3381,
"loc": {
"start": {
"line": 114,
"column": 12
},
"end": {
"line": 114,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 3381,
"end": 3389,
"loc": {
"start": {
"line": 114,
"column": 13
},
"end": {
"line": 114,
"column": 21
}
}
},
{
"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": 114,
"column": 22
},
"end": {
"line": 114,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 3392,
"end": 3396,
"loc": {
"start": {
"line": 114,
"column": 24
},
"end": {
"line": 114,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3396,
"end": 3397,
"loc": {
"start": {
"line": 114,
"column": 28
},
"end": {
"line": 114,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 3397,
"end": 3405,
"loc": {
"start": {
"line": 114,
"column": 29
},
"end": {
"line": 114,
"column": 37
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 3406,
"end": 3408,
"loc": {
"start": {
"line": 114,
"column": 38
},
"end": {
"line": 114,
"column": 40
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3409,
"end": 3410,
"loc": {
"start": {
"line": 114,
"column": 41
},
"end": {
"line": 114,
"column": 42
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3410,
"end": 3411,
"loc": {
"start": {
"line": 114,
"column": 42
},
"end": {
"line": 114,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3411,
"end": 3412,
"loc": {
"start": {
"line": 114,
"column": 43
},
"end": {
"line": 114,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "node",
"start": 3421,
"end": 3425,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3425,
"end": 3426,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 3426,
"end": 3434,
"loc": {
"start": {
"line": 115,
"column": 13
},
"end": {
"line": 115,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3434,
"end": 3435,
"loc": {
"start": {
"line": 115,
"column": 21
},
"end": {
"line": 115,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 3435,
"end": 3439,
"loc": {
"start": {
"line": 115,
"column": 22
},
"end": {
"line": 115,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3439,
"end": 3440,
"loc": {
"start": {
"line": 115,
"column": 26
},
"end": {
"line": 115,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3440,
"end": 3446,
"loc": {
"start": {
"line": 115,
"column": 27
},
"end": {
"line": 115,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3446,
"end": 3447,
"loc": {
"start": {
"line": 115,
"column": 33
},
"end": {
"line": 115,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3447,
"end": 3448,
"loc": {
"start": {
"line": 115,
"column": 34
},
"end": {
"line": 115,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3453,
"end": 3454,
"loc": {
"start": {
"line": 116,
"column": 4
},
"end": {
"line": 116,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Destroys this ObjectsKdTree3.\n ",
"start": 3460,
"end": 3508,
"loc": {
"start": {
"line": 118,
"column": 4
},
"end": {
"line": 120,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroy",
"start": 3513,
"end": 3520,
"loc": {
"start": {
"line": 121,
"column": 4
},
"end": {
"line": 121,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3520,
"end": 3521,
"loc": {
"start": {
"line": 121,
"column": 11
},
"end": {
"line": 121,
"column": 12
}
}
},
{
"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": 121,
"column": 12
},
"end": {
"line": 121,
"column": 13
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3523,
"end": 3524,
"loc": {
"start": {
"line": 121,
"column": 14
},
"end": {
"line": 121,
"column": 15
}
}
},
{
"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": 3533,
"end": 3538,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3539,
"end": 3544,
"loc": {
"start": {
"line": 122,
"column": 14
},
"end": {
"line": 122,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3545,
"end": 3546,
"loc": {
"start": {
"line": 122,
"column": 20
},
"end": {
"line": 122,
"column": 21
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3547,
"end": 3551,
"loc": {
"start": {
"line": 122,
"column": 22
},
"end": {
"line": 122,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3551,
"end": 3552,
"loc": {
"start": {
"line": 122,
"column": 26
},
"end": {
"line": 122,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 3552,
"end": 3558,
"loc": {
"start": {
"line": 122,
"column": 27
},
"end": {
"line": 122,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3558,
"end": 3559,
"loc": {
"start": {
"line": 122,
"column": 33
},
"end": {
"line": 122,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3559,
"end": 3564,
"loc": {
"start": {
"line": 122,
"column": 34
},
"end": {
"line": 122,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3564,
"end": 3565,
"loc": {
"start": {
"line": 122,
"column": 39
},
"end": {
"line": 122,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3574,
"end": 3579,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3579,
"end": 3580,
"loc": {
"start": {
"line": 123,
"column": 13
},
"end": {
"line": 123,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "off",
"start": 3580,
"end": 3583,
"loc": {
"start": {
"line": 123,
"column": 14
},
"end": {
"line": 123,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3583,
"end": 3584,
"loc": {
"start": {
"line": 123,
"column": 17
},
"end": {
"line": 123,
"column": 18
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3584,
"end": 3588,
"loc": {
"start": {
"line": 123,
"column": 18
},
"end": {
"line": 123,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3588,
"end": 3589,
"loc": {
"start": {
"line": 123,
"column": 22
},
"end": {
"line": 123,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onModelLoaded",
"start": 3589,
"end": 3603,
"loc": {
"start": {
"line": 123,
"column": 23
},
"end": {
"line": 123,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3603,
"end": 3604,
"loc": {
"start": {
"line": 123,
"column": 37
},
"end": {
"line": 123,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3604,
"end": 3605,
"loc": {
"start": {
"line": 123,
"column": 38
},
"end": {
"line": 123,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 3614,
"end": 3619,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3619,
"end": 3620,
"loc": {
"start": {
"line": 124,
"column": 13
},
"end": {
"line": 124,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "off",
"start": 3620,
"end": 3623,
"loc": {
"start": {
"line": 124,
"column": 14
},
"end": {
"line": 124,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3623,
"end": 3624,
"loc": {
"start": {
"line": 124,
"column": 17
},
"end": {
"line": 124,
"column": 18
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3624,
"end": 3628,
"loc": {
"start": {
"line": 124,
"column": 18
},
"end": {
"line": 124,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3628,
"end": 3629,
"loc": {
"start": {
"line": 124,
"column": 22
},
"end": {
"line": 124,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onModelUnloaded",
"start": 3629,
"end": 3645,
"loc": {
"start": {
"line": 124,
"column": 23
},
"end": {
"line": 124,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3645,
"end": 3646,
"loc": {
"start": {
"line": 124,
"column": 39
},
"end": {
"line": 124,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3646,
"end": 3647,
"loc": {
"start": {
"line": 124,
"column": 40
},
"end": {
"line": 124,
"column": 41
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3656,
"end": 3660,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 12
}
}
},
{
"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": 125,
"column": 12
},
"end": {
"line": 125,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_root",
"start": 3661,
"end": 3666,
"loc": {
"start": {
"line": 125,
"column": 13
},
"end": {
"line": 125,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3667,
"end": 3668,
"loc": {
"start": {
"line": 125,
"column": 19
},
"end": {
"line": 125,
"column": 20
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 3669,
"end": 3673,
"loc": {
"start": {
"line": 125,
"column": 21
},
"end": {
"line": 125,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3673,
"end": 3674,
"loc": {
"start": {
"line": 125,
"column": 25
},
"end": {
"line": 125,
"column": 26
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3683,
"end": 3687,
"loc": {
"start": {
"line": 126,
"column": 8
},
"end": {
"line": 126,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3687,
"end": 3688,
"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": "_needsRebuild",
"start": 3688,
"end": 3701,
"loc": {
"start": {
"line": 126,
"column": 13
},
"end": {
"line": 126,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3702,
"end": 3703,
"loc": {
"start": {
"line": 126,
"column": 27
},
"end": {
"line": 126,
"column": 28
}
}
},
{
"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": 3704,
"end": 3708,
"loc": {
"start": {
"line": 126,
"column": 29
},
"end": {
"line": 126,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3708,
"end": 3709,
"loc": {
"start": {
"line": 126,
"column": 33
},
"end": {
"line": 126,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3714,
"end": 3715,
"loc": {
"start": {
"line": 127,
"column": 4
},
"end": {
"line": 127,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3716,
"end": 3717,
"loc": {
"start": {
"line": 128,
"column": 0
},
"end": {
"line": 128,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3718,
"end": 3718,
"loc": {
"start": {
"line": 129,
"column": 0
},
"end": {
"line": 129,
"column": 0
}
}
}
]
}