Skip to content

Home > @esengine/ecs-framework-monorepo > Matrix3 > makeRotation

Matrix3.makeRotation() method

设置为旋转矩阵

Signature:

typescript
makeRotation(angle: number): this;

Parameters

Parameter

Type

Description

angle

number

旋转角度(弧度)

Returns:

this

当前矩阵实例(链式调用)

基于 MIT 许可证发布