Skip to content

Commit

Permalink
chore: better docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacek Pietal committed Jul 2, 2023
1 parent 23bf48b commit b742d78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Notice the last parameter of each of the below 4 functions defaults to `true` if

- Sets the position of the body to the specified `(x, y)` coordinates in the 2D space.

- `setScale(x: number, y?: number, update = true)`:
- `setScale(x: number, y = x, update = true)`:

- Sets the scale of the body along the x-axis and y-axis (optional).
- Allows resizing the body.
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ <h2>Detect-Collisions</h2></div>
<li>Sets the position of the body to the specified <code>(x, y)</code> coordinates in the 2D space.</li>
</ul>
</li>
<li><p><code>setScale(x: number, y?: number, update = true)</code>:</p>
<li><p><code>setScale(x: number, y = x, update = true)</code>:</p>
<ul>
<li>Sets the scale of the body along the x-axis and y-axis (optional).</li>
<li>Allows resizing the body.</li>
Expand Down

0 comments on commit b742d78

Please sign in to comment.