@ue-too/board / index / decomposeTRSSVD
関数: decomposeTRSSVD()
decomposeTRSSVD(
matrix):object
定義: packages/board/src/camera/utils/matrix.ts:562
Decomposes a matrix using SVD (Singular Value Decomposition) approach This is an alternative method that can handle more complex transformations
パラメータ
matrix
The transformation matrix to decompose
戻り値
object
Object containing translation, rotation, and scale components
rotation
rotation:
number
scale
scale:
object
scale.x
x:
number
scale.y
y:
number
translation
translation:
object
translation.x
x:
number
translation.y
y:
number