Skip to content

Commit fca49c5

Browse files
authored
Merge pull request #8336 from Geethegreat/fix-vector-cross-product-jsdoc
Fix JSDoc return type for p5.Vector.cross
2 parents 9166fef + ecf8439 commit fca49c5

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
@@ -3592,7 +3592,7 @@ p5.Vector = class {
35923592
* @static
35933593
* @param {p5.Vector} v1 first <a href="#/p5.Vector">p5.Vector</a>.
35943594
* @param {p5.Vector} v2 second <a href="#/p5.Vector">p5.Vector</a>.
3595-
* @return {Number} cross product.
3595+
* @return {p5.Vector} cross product.
35963596
*/
35973597
static cross(v1, v2) {
35983598
return v1.cross(v2);

0 commit comments

Comments
 (0)