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...
|
* une idée à creuser davantage...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#declare Chose = object
|
#macro Chose () // = object
|
||||||
{
|
|
||||||
merge {
|
merge {
|
||||||
difference {
|
difference {
|
||||||
cone { -1.2*y, 0.81, 0.2*y, 1.12 }
|
cone { -1.2*y, 0.81, 0.2*y, 1.12 }
|
||||||
@ -25,17 +25,17 @@ merge {
|
|||||||
cylinder { 0, <C2X, H, C2Z>, R }
|
cylinder { 0, <C2X, H, C2Z>, R }
|
||||||
sphere { <C2X, H, C2Z>, R }
|
sphere { <C2X, H, C2Z>, R }
|
||||||
#end
|
#end
|
||||||
}
|
#if (rand(Rng1) < 0.42)
|
||||||
#if (rand(Rng1) < 0.225)
|
|
||||||
texture { tPlasticOrange }
|
texture { tPlasticOrange }
|
||||||
#else
|
#else
|
||||||
texture { Ruby_Glass }
|
texture { Ruby_Glass }
|
||||||
#end
|
#end // if
|
||||||
|
|
||||||
scale <0.62, 0.5, 0.61>
|
scale <0.62, 0.5, 0.61>
|
||||||
rotate -y*clock
|
rotate -y*clock
|
||||||
translate y*1.20
|
translate y*1.10
|
||||||
}
|
}
|
||||||
|
#end // macro
|
||||||
|
|
||||||
/* ======================================================= */
|
/* ======================================================= */
|
||||||
#declare Horloge = object
|
#declare Horloge = object
|
||||||
|
Loading…
Reference in New Issue
Block a user