added two "cos" macro

This commit is contained in:
le vieux 2021-03-16 11:34:06 +01:00
parent 255643e55a
commit 40f7b689db

View File

@ -16,6 +16,18 @@ global_settings { assumed_gamma 1.0 }
#declare ANGLE_CAM = 33; #declare ANGLE_CAM = 33;
//---------------------------------------
/*
* deux macros pour des variations plus 'touchy'
*/
#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
//---------------------------------------
/*------------------------------------------------------------------*/ /*------------------------------------------------------------------*/
/* /*
* outils de mise au point (smart tools) * outils de mise au point (smart tools)