Merge pull request #608 from revarbat/revarbat_dev

Fixed typo in back() module definition.
This commit is contained in:
Revar Desmera 2021-07-14 13:53:41 -07:00 committed by GitHub
commit bb067d15a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -234,7 +234,7 @@ function fwd(y=0, p) = move([0,-y,0],p=p);
// pt2 = back(20, p=[15,23,42]); // Returns: [15,43,42]
// pt3 = back(3, p=[[1,2,3],[4,5,6]]); // Returns: [[1,5,3], [4,8,6]]
// mat3d = back(4); // Returns: [[1,0,0,0],[0,1,0,4],[0,0,1,0],[0,0,0,1]]
module back(y=0, ) {
module back(y=0, p) {
assert(is_undef(p), "Module form `back()` does not accept p= argument.");
translate([0,y,0]) children();
}