28 INLINE
float csqrt(
float v);
29 INLINE
float csin(
float v);
30 INLINE
float ccos(
float v);
31 INLINE
float ctan(
float v);
32 INLINE
void csincos(
float v,
float *sin_result,
float *cos_result);
34 INLINE
float cabs(
float v);
35 INLINE
float catan(
float v);
36 INLINE
float catan2(
float y,
float x);
37 INLINE
float casin(
float v);
38 INLINE
float cacos(
float v);
39 INLINE
float cmod(
float x,
float y);
40 INLINE
float cpow(
float x,
float y);
42 INLINE
double cfloor(
double f);
43 INLINE
double cceil(
double f);
44 INLINE
double cfrac(
double f);
45 INLINE
double csqrt(
double v);
46 INLINE
double csin(
double v);
47 INLINE
double ccos(
double v);
48 INLINE
double ctan(
double v);
49 INLINE
void csincos(
double v,
double *sin_result,
double *cos_result);
50 INLINE
double cabs(
double v);
51 INLINE
double catan(
double v);
52 INLINE
double catan2(
double y,
double x);
53 INLINE
double casin(
double v);
54 INLINE
double cacos(
double v);
55 INLINE
double cmod(
double x,
double y);
56 INLINE
double cpow(
double x,
double y);
58 INLINE
int cpow(
int x,
int y);
62 INLINE
bool cnan(
float v);
63 INLINE
bool cnan(
double v);
66 INLINE
bool cinf(
float v);
67 INLINE
bool cinf(
double v);
70 INLINE
float make_nan(
float);
71 INLINE
double make_nan(
double);
72 INLINE
float make_inf(
float);
73 INLINE
double make_inf(
double);
75 INLINE
int cmod(
int x,
int y);
float cmod(float x, float y)
This is similar to fmod(), but it behaves properly when x is negative: that is, it always returns a v...
float csin_over_x(float v)
Computes sin(x) / x, well-behaved as x approaches 0.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
double cfrac(double f)
Returns the fractional component of f: f - cfloor(f).