mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-04 21:37:57 +02:00
Examples fixes for shapes2d
This commit is contained in:
@@ -114,10 +114,10 @@ function pie_slice2d(r=undef, d=undef, ang=30) =
|
|||||||
// d = The diameter of the circle to get a slice of.
|
// d = The diameter of the circle to get a slice of.
|
||||||
// ang = The angle of the arc of the pie slice.
|
// ang = The angle of the arc of the pie slice.
|
||||||
// Examples(2D):
|
// Examples(2D):
|
||||||
// pie_slice2d(r=50,arc=30);
|
// pie_slice2d(r=50,ang=30);
|
||||||
// pie_slice2d(d=100,arc=45);
|
// pie_slice2d(d=100,ang=45);
|
||||||
// pie_slice2d(d=40,arc=120);
|
// pie_slice2d(d=40,ang=120);
|
||||||
// pie_slice2d(d=40,arc=240);
|
// pie_slice2d(d=40,ang=240);
|
||||||
module pie_slice2d(r=undef, d=undef, ang=30) {
|
module pie_slice2d(r=undef, d=undef, ang=30) {
|
||||||
pts = pie_slice2d(r=r, d=d, ang=ang);
|
pts = pie_slice2d(r=r, d=d, ang=ang);
|
||||||
polygon(pts);
|
polygon(pts);
|
||||||
|
Reference in New Issue
Block a user