wip - add matrix transformations
This commit is contained in:
10
rack/connector/transformations.scad
Normal file
10
rack/connector/transformations.scad
Normal file
@ -0,0 +1,10 @@
|
||||
// Spatial transformations between various parts' local spaces
|
||||
include <./connectors.scad>
|
||||
|
||||
|
||||
function transform(from, to) =
|
||||
(from == "yBar" && to == "xBar")
|
||||
? identity
|
||||
: (from == "xBar" && to == "yBar")
|
||||
? identity
|
||||
: identity;
|
||||
Reference in New Issue
Block a user