Skip to content

Commit 0d18a75

Browse files
authored
Merge pull request #16092 from yaoyao-cn/tem
add missing typescript declaration of Vector2.cross
2 parents 84de454 + d582d1a commit 0d18a75

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/math/Vector2.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,11 @@ export class Vector2 implements Vector {
305305
*/
306306
dot(v: Vector2): number;
307307

308+
/**
309+
* Computes cross product of this vector and v.
310+
*/
311+
cross(v: Vector2): number;
312+
308313
/**
309314
* Computes squared length of this vector.
310315
*/

0 commit comments

Comments
 (0)