getMatrixTranslation function

Offset getMatrixTranslation(
  1. Matrix4 matrix
)

Implementation

Offset getMatrixTranslation(Matrix4 matrix) {
  final Vector3 nextTranslation = matrix.getTranslation();
  return Offset(nextTranslation.x, nextTranslation.y);
}