{"_id":"@deltasnare/physics2d-convex-hull","_rev":"1-00331d262abb3b9bb774d752489652e1","name":"@deltasnare/physics2d-convex-hull","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@deltasnare/physics2d-convex-hull","version":"1.0.0","description":"Calculates a convex hull for an array of vertices","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/b3nsn0w/deltasnare-physics2d-convex-hull.git"},"author":{"name":"Ben Snow","email":"balintbence97@gmail.com"},"license":"LGPL-3.0","bugs":{"url":"https://github.com/b3nsn0w/deltasnare-physics2d-convex-hull/issues"},"homepage":"https://github.com/b3nsn0w/deltasnare-physics2d-convex-hull#readme","dependencies":{"gl-matrix":"^2.8.1"},"gitHead":"f115b1c9e917b0b13f672ab6a240b6efb63ff233","_id":"@deltasnare/physics2d-convex-hull@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"b3nsn0w","email":"balintbence97@gmail.com"},"dist":{"integrity":"sha512-jZDi5OhaAiBJV/h0ZErRcyRo850bzN+rKWo6/FW1HkMBA/aqV8WcO5LV2SB4c3tBeGO1TnYT9B+Kr4fyMzCaUg==","shasum":"630367d0aa111f036daa1736d9b73c16fe7b5a47","tarball":"https://registry.npmjs.org/@deltasnare/physics2d-convex-hull/-/physics2d-convex-hull-1.0.0.tgz","fileCount":4,"unpackedSize":2336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDGseCRA9TVsSAnZWagAAQCwQAJ2sMq4mJ0LduFGEEa9T\n10ZeM3wZpVL5wD3VZP78Ter/r/HTJmfDWp/PffiTvz3bJ5z9OkU89iJNHr5P\n5sjmCKvzLOBRIxIDRdclbYct4To4sM64Red0pc8J+dJBW5fg0QQXW0jTur5/\nXPbri4vvjd7W73b6obkw+JAp50faVoyzBT5wHir0xPZrN/SfsY0ZQhipBAYt\nA6Gbko+56YQgHE3dUoFSQfgIJ2V0d/ux3EMLEaGiNjZilkMTGLbC31w4X54H\nTprQn+Z5DJOwPhA14oSqYr5YmmPuVDioPtlFNjGKl+qdEcP1xXccMjNw+rGF\nATPNxXZBueW1CnQz5GysoHGb8EG6ht/jTZWdRopOFMovYyqfFQcyavEtAHyX\nocvVwKXXs6otHlunHSRhR2KPIFvMVVPX1NBW48LBCSHCBoRskG3KB0Oj08gx\nHcMsNOc3bxGxRF3UnX4VQuL0qlglOd3J51QeOvCVzJ+B4OOUe+KiudAZkTES\ntnYVUHCSxFkXYkRr9m/5eVpjq0+upxwQq3h6enQLQLRVBgRRAhUmJGd2atJl\nzKMvbLJ2nMT0VqtVQP5cTObRK1yt9LPBrSq1z9iORbxX5km/9g3u+sjzPods\naqvwg5BUYxZnyrKwWqlOAjWUQkaDTCe/vzqB99+53jH4y5Tdgg2n7SFdIRXh\nwALC\r\n=2L2N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh34HsF4utjpCNBwxtlRmLdrZDfDaaR8Q7PUO/dfeWvwIhAPtqV4/euRTHvKY9kmF5S2MaL+EDacYBXjRrUYuMXwlg"}]},"maintainers":[{"name":"require('rontap')","email":"aron.tatai@gmail.com"},{"name":"b3nsn0w","email":"balintbence97@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/physics2d-convex-hull_1.0.0_1544317726320_0.10008183042468377"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-09T01:08:46.149Z","1.0.0":"2018-12-09T01:08:46.526Z","modified":"2022-04-05T03:43:00.613Z"},"maintainers":[{"name":"require('rontap')","email":"aron.tatai@gmail.com"},{"name":"b3nsn0w","email":"balintbence97@gmail.com"}],"description":"Calculates a convex hull for an array of vertices","homepage":"https://github.com/b3nsn0w/deltasnare-physics2d-convex-hull#readme","repository":{"type":"git","url":"git+https://github.com/b3nsn0w/deltasnare-physics2d-convex-hull.git"},"author":{"name":"Ben Snow","email":"balintbence97@gmail.com"},"bugs":{"url":"https://github.com/b3nsn0w/deltasnare-physics2d-convex-hull/issues"},"license":"LGPL-3.0","readme":"Calculates a convex hull for an array of vertices\n\n# Usage\n\n```javascript\nconst convexHull = require('@deltasnare/physics2d-convex-hull')\n\nconst hull = convexHull([[0, 5], [0, -5], [2, 0], [-2, 0], [0, 2]])\n// returns [[0, -5], [2, 0], [0, 5], [-2, 0]]\n```\n\nA function is exported in the following format:\n\n## `convexHull(vertices)`\n\nWhere `vertices` is an array of `vec2` in arbitrary order. The function returns another array of `vec2`, which define a convex hull with all input vertices inside it. The output is arranged in counter-clockwise order.","readmeFilename":"README.md"}