From 24469ba61186bb05a23a76b5e0b4fc277465fa24 Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Mon, 15 Dec 2025 14:46:25 +0100 Subject: [PATCH] une chose presque meilleure --- gadgets.inc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gadgets.inc b/gadgets.inc index 12dc482..0bba6a6 100644 --- a/gadgets.inc +++ b/gadgets.inc @@ -4,7 +4,7 @@ */ /* ======================================================= */ -#declare R_C = 0.65; +#declare R_C = 0.45; /* ce truc mérite un nom plus parlant ! */ #macro Chose_le_pied () @@ -35,8 +35,8 @@ merge { #local C2X = (R_C + 0.2) * sin(CK2+rand(Rng1)) * sin(CK*3); #local C2Z = (R_C + 0.3) * (sin(-CK2+rand(Rng1)) * cos(CK*(rand(Rng1)))); - #local Rt = 0.03+(0.04*Cos_010(NormClock)); - #local H = 2.4; + #local Rt = 0.03+(0.02*Cos_010(NormClock)); + #local H = 1.56; cylinder { 0, , Rt } sphere { , Rt } #end @@ -53,8 +53,9 @@ merge { // ------------------------------------------------------ ## #macro Chose_le_corps () // = object difference { - cone { 0, R_C*0.46, y, R_C } - sphere { y, R_C*0.75 } + #local H = 0.60 + (0.10 * rand(Rng1)); + cone { 0, R_C*0.52, y*H, R_C } + sphere { y*H, R_C*0.75 } #local R = rand(Rng1); #if (R < 0.25) texture { tPlasticOrange } #elseif (R < 0.50) texture { tPlasticBlue }