Home > @esengine/ecs-framework-monorepo > Matrix3 > decompose
分解变换矩阵为平移、旋转、缩放分量
Signature:
decompose(): {
translation: Vector2;
rotation: number;
scale: Vector2;
};
Returns:
{ translation: Vector2; rotation: number; scale: Vector2; }
{translation, rotation, scale}