Added multmatrix(), translate(), rotate(), scale() builtins.

This commit is contained in:
Garth Minette 2021-10-05 17:03:15 -07:00
parent 0f80d544fb
commit 47aedd9d25

View file

@ -1,8 +1,8 @@
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
/// Undocumented LibFile: builtins.scad /// 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: /// Includes:
// use <BOSL2/builtins.scad> /// use <BOSL2/builtins.scad>
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
/// Section: Builtin Functions /// 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 _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 // vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap