MatrixCompose method

  1. @override
MatrixD MatrixCompose(
  1. Vector3D translation,
  2. QuaternionD rotation,
  3. Vector3D scale
)
override

Compose a transformation matrix from rotational, translational and scaling components

Implementation

@override
MatrixD MatrixCompose(
  Vector3D translation,
  QuaternionD rotation,
  Vector3D scale,
) => $.Matrix$.Extract1(
  (p) => _wasm.MatrixCompose(
    p.toJS,
    $.Vector3$.Ref1(translation).toJS,
    $.Quaternion$.Ref1(rotation).toJS,
    $.Vector3$.Ref2(scale).toJS,
  ),
);