mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
Remove unused variable from transform-point function.
This commit is contained in:
parent
f9b78cd49c
commit
2c356f9892
1 changed files with 6 additions and 7 deletions
|
@ -147,10 +147,9 @@
|
||||||
|
|
||||||
(defn transform-point
|
(defn transform-point
|
||||||
[pt mx]
|
[pt mx]
|
||||||
(let [other (-point other)]
|
(Point. (+ (* (:x pt) (:a mx))
|
||||||
(Point. (+ (* (:x pt) (:a mx))
|
(* (:y pt) (:c mx))
|
||||||
(* (:y pt) (:c mx))
|
(:tx mx))
|
||||||
(:tx mx))
|
(+ (* (:x pt) (:b mx))
|
||||||
(+ (* (:x pt) (:b mx))
|
(* (:y pt) (:d mx))
|
||||||
(* (:y pt) (:d mx))
|
(:ty mx))))
|
||||||
(:ty mx)))))
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue