Skip to content

Home > @esengine/ecs-framework-monorepo > Vector2 > cross

Vector2.cross() method

向量叉积(静态方法)

Signature:

typescript
static cross(a: Vector2, b: Vector2): number;

Parameters

Parameter

Type

Description

a

Vector2

向量a

b

Vector2

向量b

Returns:

number

叉积值

基于 MIT 许可证发布