1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-14 02:34:12 +02:00

add detail param

This commit is contained in:
Justin Lin
2022-01-02 22:54:25 +08:00
parent f3216c2062
commit 48e986ce14

View File

@@ -15,7 +15,7 @@ detail = 1;
head_angles = [5, 0, 20];
owl(detail, head_angles);
rock();
rock(detail);
module owl(detail, head_angles) {
n = (detail + 1) * 5;
@@ -246,7 +246,7 @@ module owl(detail, head_angles) {
claw();
}
module rock() {
module rock(detail) {
radius = 16.5;
detail = detail;
amplitude = .25;