add global constants

This commit is contained in:
Tonton Th
2025-01-13 15:27:56 +01:00
parent 540dc86601
commit 8c30830837
2 changed files with 18 additions and 8 deletions

View File

@@ -18,7 +18,17 @@ global_settings {
#declare NormClock = clock / 360.0;
/* ------------------------------------------------------------ */
/*
* Some constants...
*/
#declare R_basecone = 0.117;
#declare H_cone = 0.97;
/* ------------------------------------------------------------ */
/*
* Usefull macros
*/
#macro Cos_01( X )
(0.5-0.5*cos( 3.141592654 * X))
#end