1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-07-31 12:00:23 +02:00

added comments

This commit is contained in:
Justin Lin
2017-06-01 09:12:10 +08:00
parent 3e2b6d8f3b
commit 7ea59ddfd5

View File

@@ -48,7 +48,8 @@ module rounded_cube(size, corner_r, center = false) {
} }
center_pts = center ? [0, 0, 0] : [half_x, half_y, half_z]; center_pts = center ? [0, 0, 0] : [half_x, half_y, half_z];
// Don't use `hull() for(...) {...}` because it's slow.
translate(center_pts) hull() { translate(center_pts) hull() {
corner(0); corner(0);
corner(1); corner(1);