function transformTarget(target, matrix, dimension) {
  const { a, d, e, f } = matrix;
  return dimension === "y" ? d * target + f : a * target + e;
}
function transformTarget(target, matrix, dimension) {
  const { a, d, e, f } = matrix;
  return dimension === "y" ? d * target + f : a * target + e;
}
function transformTarget ( target , matrix , dimension ) { const { a , d , e , f } = matrix ; return dimension === "y" ? d * target + f : a * target + e ; }
Private Functions
Private Functions