La Chose est maintenant une macro
This commit is contained in:
parent
3eae9b7308
commit
fd7c2fe707
12
gadgets.inc
12
gadgets.inc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user