Skip to content

Commit e65de9d

Browse files
authored
Merge pull request #8346 from Geethegreat/fix-vector-cross-product-jsdoc-2.0
Fix JSDoc return type for p5.Vector.cross (2.0)
2 parents db2ceae + 3b1c299 commit e65de9d

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)