Skip to content

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

Vector2.min() method

获取两个向量中的最小分量向量(静态方法)

Signature:

typescript
static min(a: Vector2, b: Vector2): Vector2;

Parameters

Parameter

Type

Description

a

Vector2

向量a

b

Vector2

向量b

Returns:

Vector2

新的最小分量向量

基于 MIT 许可证发布