UNPKG

detect-collisions-quad-tree

Version:

Points, Lines, Boxes, Polygons (also hollow), Ellipses, Circles. RayCasting, offsets, rotation, scaling, bounding box padding, flags for static and ghost/trigger bodies.(based on https://github.com/Prozi/detect-collisions)

85 lines (84 loc) 2.23 kB
{ "name": "detect-collisions-quad-tree", "version": "1.0.1", "description": "Points, Lines, Boxes, Polygons (also hollow), Ellipses, Circles. RayCasting, offsets, rotation, scaling, bounding box padding, flags for static and ghost/trigger bodies.(based on https://github.com/Prozi/detect-collisions)", "main": "dist/index.mjs", "type": "module", "types": "dist/index.d.ts", "scripts": { "build": "webpack --config webpack.config.js" }, "repository": "git://github.com/WangPengJu/detect-collisions.git", "files": [ "dist/*.*", "dist/bodies/*.*", "dist/external/*.*" ], "keywords": [ "javascript", "typescript", "library", "computational-geometry", "alghoritm", "computational-geometry-alghoritm", "collisions", "collision-checking", "concave", "rotation", "angle", "separating-axis-theorem", "bounding-volume-hierarchy", "Circle", "Polygon", "Box", "Ellipse", "Line", "Point" ], "author": "WangPengJu", "license": "MIT", "bugs": { "url": "https://github.com/WangPengJu/detect-collisions/issues" }, "homepage": "https://github.com/WangPengJu/detect-collisions/", "dependencies": { "@types/sat": "^0.0.35", "poly-decomp-es": "^0.4.2", "sat": "^0.9.0" }, "devDependencies": { "@babel/core": "^7.26.10", "@babel/preset-env": "^7.26.9", "@stylistic/eslint-plugin": "^3.1.0", "@types/node": "^22.13.4", "@types/rbush": "^4.0.0", "babel-loader": "^10.0.0", "chef-express": "^2.4.2", "eslint": "^9.20.1", "eslint-plugin-json": "^4.0.1", "html-webpack-plugin": "^5.6.3", "husky": "^9.1.7", "jest": "^29.7.0", "quickselect": "^3.0.0", "random-seed": "^0.3.0", "rbush": "^4.0.1", "tinybench": "^3.1.1", "ts-jest": "^29.2.5", "ts-loader": "^9.5.2", "typedoc": "^0.27.7", "typescript": "^5", "webpack": "^5.98.0", "webpack-cli": "^6.0.1", "webpack-dev-server": "^5.2.0" }, "resolutions": { "@types/node": "^22.4.1", "canvas": "^2.11.2", "minimist": "^1.2.6", "terser": "^5.14.2", "json5": "^2.2.2", "semver": "^7.5.3", "escodegen": "^2.1.0", "express": "^4.19.2" } }