MatrixDecompose method
void
MatrixDecompose(
- dynamic mat,
- StructPointer translation,
- StructPointer rotation,
- StructPointer scale,
override
Decompose a transformation matrix into its rotational, translational and scaling components and remove shear
Implementation
@override
void MatrixDecompose(
MatrixD mat,
StructPointer<Vector3D> translation,
StructPointer<QuaternionD> rotation,
StructPointer<Vector3D> scale,
) => _ffi.MatrixDecompose(
$.Matrix$.Ref1(mat).asNativePointer<MatrixC>().ref,
translation.asNativePointer(),
rotation.asNativePointer(),
scale.asNativePointer(),
);