MatrixCompose method

  1. @override
Matrix MatrixCompose(
  1. Vector3 translation,
  2. Quaternion rotation,
  3. Vector3 scale
)
override

Compose a transformation matrix from rotational, translational and scaling components

Implementation

@override
Matrix MatrixCompose(
  Vector3 translation,
  Quaternion rotation,
  Vector3 scale,
) => Matrix$.Extract1(
  (p) => _ffi.MatrixCompose(
    Vector3$.Ref1(translation).asNativePointer<Vector3C>().ref,
    Quaternion$.Ref1(rotation).asNativePointer<QuaternionC>().ref,
    Vector3$.Ref2(scale).asNativePointer<Vector3C>().ref,
  ).toDart(p.asNativePointer()),
);