From 77311492ac052e0a37b2360cbad28bbb406475ab Mon Sep 17 00:00:00 2001 From: MD4 Date: Wed, 2 Dec 2020 13:52:44 +0100 Subject: [PATCH] misc(cleanup): cleanup up some useless/outdated files --- .travis.yml | 3 - docs/README.md | 2 +- docs/interfaces/bounds.md | 4 +- docs/interfaces/segment2.md | 4 +- docs/interfaces/vec2.md | 4 +- package-lock.json | 124 +----------------------------------- 6 files changed, 9 insertions(+), 132 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2197832..0000000 --- a/.travis.yml +++ /dev/null @@ -1,3 +0,0 @@ -language: node_js -node_js: - - "node" diff --git a/docs/README.md b/docs/README.md index 7544f28..a1a560e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -22,7 +22,7 @@ ▸ `Const`**computeShadows**(`bounds`: [Bounds](interfaces/bounds.md), `walls`: [Segment2](interfaces/segment2.md)[], `light`: [Vec2](interfaces/vec2.md)): [Vec2](interfaces/vec2.md)[][] -*Defined in [computeShadows.ts:39](https://github.com/MD4/shadowed/blob/5958581/src/computeShadows.ts#L39)* +*Defined in [computeShadows.ts:39](https://github.com/MD4/shadowed/blob/22036b8/src/computeShadows.ts#L39)* Computes casted shadows by a light for a given set of walls within specified bounds. diff --git a/docs/interfaces/bounds.md b/docs/interfaces/bounds.md index 15398e2..59afb91 100644 --- a/docs/interfaces/bounds.md +++ b/docs/interfaces/bounds.md @@ -21,7 +21,7 @@ • **bottomRight**: [Vec2](vec2.md) -*Defined in [entities.ts:8](https://github.com/MD4/shadowed/blob/5958581/src/entities.ts#L8)* +*Defined in [entities.ts:8](https://github.com/MD4/shadowed/blob/22036b8/src/entities.ts#L8)* ___ @@ -29,4 +29,4 @@ ___ • **topLeft**: [Vec2](vec2.md) -*Defined in [entities.ts:7](https://github.com/MD4/shadowed/blob/5958581/src/entities.ts#L7)* +*Defined in [entities.ts:7](https://github.com/MD4/shadowed/blob/22036b8/src/entities.ts#L7)* diff --git a/docs/interfaces/segment2.md b/docs/interfaces/segment2.md index 6cbd1e3..b921079 100644 --- a/docs/interfaces/segment2.md +++ b/docs/interfaces/segment2.md @@ -21,7 +21,7 @@ • **a**: [Vec2](vec2.md) -*Defined in [entities.ts:12](https://github.com/MD4/shadowed/blob/5958581/src/entities.ts#L12)* +*Defined in [entities.ts:12](https://github.com/MD4/shadowed/blob/22036b8/src/entities.ts#L12)* ___ @@ -29,4 +29,4 @@ ___ • **b**: [Vec2](vec2.md) -*Defined in [entities.ts:13](https://github.com/MD4/shadowed/blob/5958581/src/entities.ts#L13)* +*Defined in [entities.ts:13](https://github.com/MD4/shadowed/blob/22036b8/src/entities.ts#L13)* diff --git a/docs/interfaces/vec2.md b/docs/interfaces/vec2.md index bd71650..fdaccec 100644 --- a/docs/interfaces/vec2.md +++ b/docs/interfaces/vec2.md @@ -21,7 +21,7 @@ • **x**: number -*Defined in [entities.ts:2](https://github.com/MD4/shadowed/blob/5958581/src/entities.ts#L2)* +*Defined in [entities.ts:2](https://github.com/MD4/shadowed/blob/22036b8/src/entities.ts#L2)* ___ @@ -29,4 +29,4 @@ ___ • **y**: number -*Defined in [entities.ts:3](https://github.com/MD4/shadowed/blob/5958581/src/entities.ts#L3)* +*Defined in [entities.ts:3](https://github.com/MD4/shadowed/blob/22036b8/src/entities.ts#L3)* diff --git a/package-lock.json b/package-lock.json index ff824b1..592cf66 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,22 +4,6 @@ "lockfileVersion": 1, "requires": true, "dependencies": { - "2d-polygon-area": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/2d-polygon-area/-/2d-polygon-area-1.0.0.tgz", - "integrity": "sha1-IQGx80ARb9qWLCdlbS5J0mG09Pg=" - }, - "2d-polygon-boolean": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/2d-polygon-boolean/-/2d-polygon-boolean-1.0.1.tgz", - "integrity": "sha1-964RovyX1e30KumAo+VGos9HFeA=", - "requires": { - "2d-polygon-area": "^1.0.0", - "point-in-big-polygon": "~1.0.0", - "segseg": "~0.2.0", - "signum": "^1.0.0" - } - }, "@babel/code-frame": { "version": "7.10.4", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", @@ -1124,14 +1108,6 @@ "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==", "dev": true }, - "@types/polygon": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@types/polygon/-/polygon-1.0.0.tgz", - "integrity": "sha512-nA/MXg93hZmL7ustu798m3pv8ZSbqOfVVV41wwv94p1+YttQ+Izo87HhSaXXZ0/qT+QRtuGNMwn9Xo8GWGyV0Q==", - "requires": { - "@types/vec2": "*" - } - }, "@types/prettier": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.1.2.tgz", @@ -1144,11 +1120,6 @@ "integrity": "sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw==", "dev": true }, - "@types/vec2": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/@types/vec2/-/vec2-1.6.1.tgz", - "integrity": "sha512-8Lhxlrz3v+rb0jq3b3WApSEllsmMEQ8tmlUHKEBlOCdQUHhHU0L1BPqAJtihz/YD0bcUYygC7oHCQIB2phsLKQ==" - }, "@types/yargs": { "version": "15.0.7", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.7.tgz", @@ -1656,11 +1627,6 @@ "tweetnacl": "^0.14.3" } }, - "binary-search-bounds": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/binary-search-bounds/-/binary-search-bounds-1.0.0.tgz", - "integrity": "sha1-MjyjF+PypA9CRMclX1OEpbIHu2k=" - }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -2935,7 +2901,8 @@ "functional-red-black-tree": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", - "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=" + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "dev": true }, "gensync": { "version": "1.0.0-beta.1", @@ -3034,11 +3001,6 @@ "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", "dev": true }, - "greiner-hormann": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/greiner-hormann/-/greiner-hormann-1.4.1.tgz", - "integrity": "sha512-TN0p6knjYqaMs/llEjatU7ymo6olRztVFYFrqNx/3M3N0t+doUTaADKJFC/gKGwhtgKrrw8dP6c5ZXhw5k428g==" - }, "growly": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", @@ -5743,23 +5705,6 @@ "find-up": "^4.0.0" } }, - "point-in-big-polygon": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/point-in-big-polygon/-/point-in-big-polygon-1.0.0.tgz", - "integrity": "sha1-GGZyV6GLqc6qOd5Pw6LPSZaiAiU=", - "requires": { - "robust-orientation": "^1.0.2", - "slab-decomposition": "^1.0.1" - } - }, - "polygon-clipping": { - "version": "0.15.1", - "resolved": "https://registry.npmjs.org/polygon-clipping/-/polygon-clipping-0.15.1.tgz", - "integrity": "sha512-6tvqlvuSu+CLe0RtS51sG43iU31h4zwyLAESMW/Kv+iNb62lSwxvGJhlLNduS4JTtX3mtBrg8Bbl/QCpC2I+hA==", - "requires": { - "splaytree": "^3.0.1" - } - }, "portfinder": { "version": "1.0.28", "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz", @@ -6137,36 +6082,6 @@ "glob": "^7.1.3" } }, - "robust-orientation": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/robust-orientation/-/robust-orientation-1.1.3.tgz", - "integrity": "sha1-2v9bANO+TmByLw6cAVbvln8cIEk=", - "requires": { - "robust-scale": "^1.0.2", - "robust-subtract": "^1.0.0", - "robust-sum": "^1.0.0", - "two-product": "^1.0.2" - } - }, - "robust-scale": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/robust-scale/-/robust-scale-1.0.2.tgz", - "integrity": "sha1-d1Ey7QlULQKOWLLMecBikLz3jDI=", - "requires": { - "two-product": "^1.0.2", - "two-sum": "^1.0.0" - } - }, - "robust-subtract": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/robust-subtract/-/robust-subtract-1.0.0.tgz", - "integrity": "sha1-4LFk4e2LpOOl3aRaEgODSNvtPpo=" - }, - "robust-sum": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/robust-sum/-/robust-sum-1.0.0.tgz", - "integrity": "sha1-FmRuUlKStNJdgnV6KGlV4Lv6U9k=" - }, "rollup": { "version": "2.29.0", "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.29.0.tgz", @@ -6418,11 +6333,6 @@ "integrity": "sha1-8aAymzCLIh+uN7mXTz1XjQypmeM=", "dev": true }, - "segseg": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/segseg/-/segseg-0.2.2.tgz", - "integrity": "sha1-liCsjWDS8JjIdLlFyRzd+v/j49c=" - }, "semver": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", @@ -6497,27 +6407,12 @@ "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", "dev": true }, - "signum": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/signum/-/signum-1.0.0.tgz", - "integrity": "sha1-dKfSvyogtA66FqkrFSEk8dVZ+nc=" - }, "sisteransi": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", "dev": true }, - "slab-decomposition": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/slab-decomposition/-/slab-decomposition-1.0.2.tgz", - "integrity": "sha1-He1WdU1AixBznxRRA9/GGAf2UTQ=", - "requires": { - "binary-search-bounds": "^1.0.0", - "functional-red-black-tree": "^1.0.0", - "robust-orientation": "^1.1.3" - } - }, "slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -6781,11 +6676,6 @@ "integrity": "sha512-+orQK83kyMva3WyPf59k1+Y525csj5JejicWut55zeTWANuN17qSiSLUXWtzHeNWORSvT7GLDJ/E/XiIWoXBTw==", "dev": true }, - "splaytree": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/splaytree/-/splaytree-3.0.1.tgz", - "integrity": "sha512-WvQIHRDXLSVn72xjlIG/WGhv/4QO3m+iY2TpVdFRaXd1+/vkNlpkpw1QaNH5taghF9eWXDHWMWnzXyicR8d6ig==" - }, "split-string": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", @@ -7191,16 +7081,6 @@ "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", "dev": true }, - "two-product": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/two-product/-/two-product-1.0.2.tgz", - "integrity": "sha1-Z9ldSyV6kh4stL16+VEfkIhSLqo=" - }, - "two-sum": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/two-sum/-/two-sum-1.0.0.tgz", - "integrity": "sha1-MdPzIjnk9zHsqd+RVeKyl/AIq2Q=" - }, "type-check": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",