Liking cljdoc? Tell your friends :D
Clojure only.

scad-tarmi.reckon


rotateclj

(rotate [α β γ] position)

Transform a set of coordinates as in rotation. The call signature imitates one form of scad-clj’s rotate. The matrices used here are selected to imitate the compound effect of OpenSCAD’s rotate, which uses the Eigen library’s Euler-style rotation under the hood. A unified matrix would save a couple of CPU cycles but would not affect SCAD or STL files.

Transform a set of coordinates as in rotation.
The call signature imitates one form of scad-clj’s rotate. The matrices used
here are selected to imitate the compound effect of OpenSCAD’s rotate, which
uses the Eigen library’s Euler-style rotation under the hood. A unified
matrix would save a couple of CPU cycles but would not affect SCAD or STL
files.
sourceraw docstring

translateclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close