22 static const double pi_d;
23 static const double ln2_d;
24 static const double rad_2_deg_d;
25 static const double deg_2_rad_d;
27 static const float pi_f;
28 static const float ln2_f;
29 static const float rad_2_deg_f;
30 static const float deg_2_rad_f;
32 static const PN_stdfloat pi;
33 static const PN_stdfloat ln2;
34 static const PN_stdfloat rad_2_deg;
35 static const PN_stdfloat deg_2_rad;
38 INLINE
static float cpi(
float);
39 INLINE
static float cln2(
float);
41 INLINE
static double cpi(
double);
42 INLINE
static double cln2(
double);
static float cpi(float)
Returns pi as a single-precision or double-precision number, according to the type of the parameter.
static float cln2(float)
Returns ln(2) as a single-precision or double-precision number, according to the type of the paramete...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.