12 #if !defined(ST_NO_NAMESPACES)
19 const float toDeg =57.29577951F ;
20 const float pi =3.141592654F ;
21 const float twoPi =2.F*pi ;
22 const float piHalf = 0.5 * pi ;
23 const double bFactor = 0.0029979 ;
27 #define seta(r,z) (float)(3.0F * (z) / (fabs(z)+2.0F*(r)))
28 #define reta(eta,r) ((2.F*(r)*eta / ( 3 - fabs(eta)) ))
29 #define sgn(a) (float)( ( (a) > 0 ) ? (1) :(-1) )
30 #define square(a) (float)( (a) * (a) )