1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-15 11:14:17 +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]; head_angles = [5, 0, 20];
owl(detail, head_angles); owl(detail, head_angles);
rock(); rock(detail);
module owl(detail, head_angles) { module owl(detail, head_angles) {
n = (detail + 1) * 5; n = (detail + 1) * 5;
@@ -246,7 +246,7 @@ module owl(detail, head_angles) {
claw(); claw();
} }
module rock() { module rock(detail) {
radius = 16.5; radius = 16.5;
detail = detail; detail = detail;
amplitude = .25; amplitude = .25;