Skip to content

Commit

Permalink
fix(types): fixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
MD4 committed Nov 27, 2020
1 parent 68d87a0 commit 45d1da1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/deb577d/src/computeShadows.ts#L39)*
*Defined in [computeShadows.ts:39](https://github.com/MD4/shadowed/blob/68d87a0/src/computeShadows.ts#L39)*

Computes casted shadows by a light for a given set of walls within specified bounds.

Expand Down
4 changes: 2 additions & 2 deletions docs/interfaces/bounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

**bottomRight**: [Vec2](vec2.md)

*Defined in [entities.ts:8](https://github.com/MD4/shadowed/blob/deb577d/src/entities.ts#L8)*
*Defined in [entities.ts:8](https://github.com/MD4/shadowed/blob/68d87a0/src/entities.ts#L8)*

___

### topLeft

**topLeft**: [Vec2](vec2.md)

*Defined in [entities.ts:7](https://github.com/MD4/shadowed/blob/deb577d/src/entities.ts#L7)*
*Defined in [entities.ts:7](https://github.com/MD4/shadowed/blob/68d87a0/src/entities.ts#L7)*
4 changes: 2 additions & 2 deletions docs/interfaces/segment2.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

**a**: [Vec2](vec2.md)

*Defined in [entities.ts:12](https://github.com/MD4/shadowed/blob/deb577d/src/entities.ts#L12)*
*Defined in [entities.ts:12](https://github.com/MD4/shadowed/blob/68d87a0/src/entities.ts#L12)*

___

### b

**b**: [Vec2](vec2.md)

*Defined in [entities.ts:13](https://github.com/MD4/shadowed/blob/deb577d/src/entities.ts#L13)*
*Defined in [entities.ts:13](https://github.com/MD4/shadowed/blob/68d87a0/src/entities.ts#L13)*
4 changes: 2 additions & 2 deletions docs/interfaces/vec2.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

**x**: number

*Defined in [entities.ts:2](https://github.com/MD4/shadowed/blob/deb577d/src/entities.ts#L2)*
*Defined in [entities.ts:2](https://github.com/MD4/shadowed/blob/68d87a0/src/entities.ts#L2)*

___

### y

**y**: number

*Defined in [entities.ts:3](https://github.com/MD4/shadowed/blob/deb577d/src/entities.ts#L3)*
*Defined in [entities.ts:3](https://github.com/MD4/shadowed/blob/68d87a0/src/entities.ts#L3)*
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"test:unit": "jest",
"lint": "eslint \"*/**/*.{ts,js,json}\" --fix",
"build": "rollup --config ./rollup.config.js",
"prepublishOnly": "pinst --disable && npm run doc && npm run build && npm run test",
"prepublishOnly": "npm run clean && pinst --disable && npm run doc && npm run build && npm run test",
"postinstall": "husky install",
"postpublish": "pinst --enable",
"demo": "npm run build && http-server -o demo",
Expand Down

0 comments on commit 45d1da1

Please sign in to comment.