La Chose est maintenant une macro

This commit is contained in:
Tonton Th 2025-10-18 16:14:59 +02:00
parent 3eae9b7308
commit fd7c2fe707

View File

@ -9,8 +9,8 @@
* une idée à creuser davantage...
*/
#declare Chose = object
{
#macro Chose () // = object
merge {
difference {
cone { -1.2*y, 0.81, 0.2*y, 1.12 }
@ -25,17 +25,17 @@ merge {
cylinder { 0, <C2X, H, C2Z>, R }
sphere { <C2X, H, C2Z>, R }
#end
}
#if (rand(Rng1) < 0.225)
#if (rand(Rng1) < 0.42)
texture { tPlasticOrange }
#else
texture { Ruby_Glass }
#end
#end // if
scale <0.62, 0.5, 0.61>
rotate -y*clock
translate y*1.20
translate y*1.10
}
#end // macro
/* ======================================================= */
#declare Horloge = object