1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-18 06:38:14 +01:00

update comment

This commit is contained in:
Justin Lin 2017-06-25 10:38:16 +08:00
parent 8d1f248db5
commit 00eff2530f

View File

@ -13,7 +13,7 @@
module ellipse_extrude(semi_minor_axis, height, center = false, convexity = 10, twist = 0, slices = 20) {
h = height == undef ? semi_minor_axis : (
// `semi_minor_axis` is always equal to or greater than than `height`.
// `semi_minor_axis` is always equal to or greater than `height`.
height > semi_minor_axis ? semi_minor_axis : height
);
angle = asin(h / semi_minor_axis) / slices;