1.2.3-SNAPSHOT permalink Arrow_down_16x16
  • (translate sktch [tx ty & [tz]])
  • (translate sktch tx ty)
  • (translate sktch tx ty tz)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source incanter/processing.clj:1355 top

(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))))
Vars in incanter.processing/translate: defn float
Used in 0 other vars

Comments top

No comments for translate. Log in to add a comment.