From 09792791f705853d3fdba8a7328d2617cdad001d Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Wed, 1 Jan 2025 16:15:06 +0100 Subject: [PATCH] add stuff --- globals.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 + +/* ------------------------------------------------------------ */