diff --git a/incs/constantes.inc b/incs/constantes.inc index e3d1c43..24bb6cf 100644 --- a/incs/constantes.inc +++ b/incs/constantes.inc @@ -40,6 +40,19 @@ finish { phong 0.5 } } +#declare Texture_Roues = texture +{ + pigment { color LightSteelBlue } + finish { phong 0.7 } +} + +#declare Texture_Chassis = texture +{ + pigment { color Yellow } + finish { phong 0.5 ambient 0.4 } +} + + /* ------------------------------------------------------------ */ #end // #ifdef diff --git a/incs/train.inc b/incs/train.inc index cc037be..defccf0 100644 --- a/incs/train.inc +++ b/incs/train.inc @@ -5,17 +5,7 @@ */ //----------------------------------------------------------------- -#declare Texture_Roues = texture -{ - pigment { color LightSteelBlue } - finish { phong 0.7 } -} - -#declare Texture_Chassis = texture -{ - pigment { color Yellow } - finish { phong 0.5 ambient 0.4 } -} +#include "incs/constantes.inc" //-----------------------------------------------------------------