Skip to content

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

Vector2.normalize() method

向量归一化(转换为单位向量)

Signature:

typescript
normalize(): this;

Returns:

this

当前向量实例(链式调用)

基于 MIT 许可证发布