SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function matrixTransform(matrix, point) {
  2.   const {a, b, c, d, e, f} = matrix;
  3.   const {x, y} = point;
  4.   return {
  5.     x: a * x + c * y + e,
  6.     y: b * x + d * y + f,
  7.   };
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top