0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 00:40:30 -05:00

Remove unused variable from transform-point function.

This commit is contained in:
Andrey Antukh 2016-04-05 18:01:01 +03:00
parent f9b78cd49c
commit 2c356f9892

View file

@ -147,10 +147,9 @@
(defn transform-point
[pt mx]
(let [other (-point other)]
(Point. (+ (* (:x pt) (:a mx))
(* (:y pt) (:c mx))
(:tx mx))
(+ (* (:x pt) (:b mx))
(* (:y pt) (:d mx))
(:ty mx)))))
(Point. (+ (* (:x pt) (:a mx))
(* (:y pt) (:c mx))
(:tx mx))
(+ (* (:x pt) (:b mx))
(* (:y pt) (:d mx))
(:ty mx))))