Skip to content

Commit 3174797

Browse files
committed
Fix docs for setHeading()
1 parent 37532fa commit 3174797

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/math/p5.Vector.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,10 +1610,6 @@ p5.Vector = class {
16101610
* <a href="#/p5/createVector">createVector()</a>, `setHeading()` uses
16111611
* the units of the current <a href="#/p5/angleMode">angleMode()</a>.
16121612
*
1613-
* The static version of `setHeading()`, as in `p5.Vector.setHeading(v, PI)`,
1614-
* returns a new <a href="#/p5.Vector">p5.Vector</a> object and doesn't change
1615-
* the original.
1616-
*
16171613
* @method setHeading
16181614
* @param {number} angle angle of rotation.
16191615
* @chainable

0 commit comments

Comments
 (0)