{"version":3,"sources":["https://lively-kernel.org/lively4/lively4-mpm-debugging/src/mpm-debugger/src/floom/node.js"],"names":["Vector2","Node","mass","d","gx","gy","cgx","cgy","velocity","Zero","copy","velocity2","acceleration","particleDensity"],"mappings":";;;;;;AAAOA,U;;;;;;;;;;;;;;;;;;;;AAEN,OAAIC,OAAO,YAAW;AAClB,SAAKC,IAAL,GAAY,CAAZ;AACA,SAAKC,CAAL,GAAS,CAAT;AACA,SAAKC,EAAL,GAAU,CAAV;AACA,SAAKC,EAAL,GAAU,CAAV;AACH;AACG,SAAKC,GAAL,GAAW,CAAC,CAAD,EAAI,CAAJ,EAAO,CAAP,EAAU,CAAV,EAAa,CAAb,EAAgB,CAAhB,CAAX;AACA,SAAKC,GAAL,GAAW,CAAC,CAAD,EAAI,CAAJ,EAAO,CAAP,EAAU,CAAV,EAAa,CAAb,EAAgB,CAAhB,CAAX;AACA,SAAKC,QAAL,GAAgBR,QAAQS,IAAR,CAAaC,IAAb,EAAhB;AACA,SAAKC,SAAL,GAAiBX,QAAQS,IAAR,CAAaC,IAAb,EAAjB;AACA,SAAKE,YAAL,GAAoBZ,QAAQS,IAAR,CAAaC,IAAb,EAApB;;AAEA,SAAKG,eAAL,GAAuB,CAAvB;AACH,IAbD;;;;;;;;;;;;;;;;sBAeeZ,I","file":"node.js","sourcesContent":["import Vector2 from \"./../external/vector2.js\";\n\n\tvar Node = function() {\n\t    this.mass = 0;\n\t    this.d = 0;\n\t    this.gx = 0;\n\t    this.gy = 0;\n\t\t// TODO: this currently limits the number of different materials that are available\n\t    this.cgx = [0, 0, 0, 0, 0, 0];\n\t    this.cgy = [0, 0, 0, 0, 0, 0];\n\t    this.velocity = Vector2.Zero.copy();\n\t    this.velocity2 = Vector2.Zero.copy();\n\t    this.acceleration = Vector2.Zero.copy();\n\t    \n\t    this.particleDensity = 0;\n\t};\n\t\n\texport default Node;\n"]}