diff --git a/globals.inc b/globals.inc index 6011c61..f74eca7 100644 --- a/globals.inc +++ b/globals.inc @@ -4,3 +4,19 @@ global_settings { ambient_light rgb <0.18, 0.14, 0.17> max_trace_level 15 } + +#declare Rng2 = seed(now*24*60*60); +#declare foo = rand(Rng2); + +#declare NormClock = clock / 360.0; + +/* ------------------------------------------------------------ */ + +#macro Cos_01( X ) + (0.5-0.5*cos( 3.141592654 * X)) +#end +#macro Cos_010( X ) + (0.5-0.5*cos( 2 * 3.141592654 * X)) +#end + +/* ------------------------------------------------------------ */