(defn translate
""
([^PApplet sktch [tx ty & [tz]]]
(if tz
(translate sktch (float tx) (float ty) (float tz))
(translate sktch (float tx) (float ty))))
([^PApplet sktch tx ty] (.translate sktch (float tx) (float ty)))
([^PApplet sktch tx ty tz] (.translate sktch (float tx) (float ty) (float tz))))
Comments top
No comments for translate. Log in to add a comment.