Skip to content

Commit 3b1c299

Browse files
committed
Fix JSDoc return type for p5.Vector.cross (2.0)
1 parent db2ceae commit 3b1c299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math/p5.Vector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3536,7 +3536,7 @@ class Vector {
35363536
* @static
35373537
* @param {p5.Vector} v1 first <a href="#/p5.Vector">p5.Vector</a>.
35383538
* @param {p5.Vector} v2 second <a href="#/p5.Vector">p5.Vector</a>.
3539-
* @return {Number} cross product.
3539+
* @return {p5.Vector} cross product.
35403540
*/
35413541
static cross(v1, v2) {
35423542
return v1.cross(v2);

0 commit comments

Comments
 (0)