Merge pull request #677 from revarbat/revarbat_dev

Added multmatrix(), translate(), rotate(), scale() builtins.
This commit is contained in:
Revar Desmera 2021-10-05 17:28:16 -07:00 committed by GitHub
commit 869a764815
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,8 @@
//////////////////////////////////////////////////////////////////////
/// Undocumented LibFile: builtins.scad
// This file has indirect calls to OpenSCAD's builtin functions and modules.
/// This file has indirect calls to OpenSCAD's builtin functions and modules.
/// Includes:
// use <BOSL2/builtins.scad>
/// use <BOSL2/builtins.scad>
//////////////////////////////////////////////////////////////////////
/// Section: Builtin Functions
@ -25,6 +25,9 @@ module _cylinder(h,r1,r2,center,r,d,d1,d2) cylinder(h,r=r,d=d,r1=r1,r2=r2,d1=d1,
module _sphere(r,d) sphere(r=r,d=d);
module _multmatrix(m) multmatrix(m) children();
module _translate(v) translate(v) children();
module _rotate(a,v) rotate(a=a,v=v) children();
module _scale(v) scale(v) children();
// vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap