Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

cmath.h File Reference

#include <pandabase.h>
#include <math.h>
#include "cmath.I"

Go to the source code of this file.

Functions

INLINE_LINMATH float csqrt (float v)
INLINE_LINMATH float csin (float v)
INLINE_LINMATH float ccos (float v)
INLINE_LINMATH float ctan (float v)
INLINE_LINMATH void csincos (float v, float *pSinResult, float *pCosResult)
INLINE_LINMATH float cabs (float v)
INLINE_LINMATH float catan (float v)
INLINE_LINMATH float catan2 (float y, float x)
INLINE_LINMATH double cfloor (double f)
INLINE_LINMATH double cceil (double f)
INLINE_LINMATH double csqrt (double v)
INLINE_LINMATH double csin (double v)
INLINE_LINMATH double ccos (double v)
INLINE_LINMATH double ctan (double v)
INLINE_LINMATH double cabs (double v)
INLINE_LINMATH double catan (double v)
INLINE_LINMATH double catan2 (double y, double x)
INLINE_LINMATH void csincos (double v, double *pSinResult, double *pCosResult)
INLINE_LINMATH bool cnan (double v)


Function Documentation

INLINE_LINMATH double cabs double  v  ) 
 

Referenced by Fog::adjust_to_camera(), FLOATNAME(), and Lens::set_frustum_from_corners().

INLINE_LINMATH float cabs float  v  ) 
 

INLINE_LINMATH double catan double  v  ) 
 

Referenced by PerspectiveLens::film_to_fov(), CylindricalLens::film_to_fov(), and Lens::set_frustum_from_corners().

INLINE_LINMATH float catan float  v  ) 
 

INLINE_LINMATH double catan2 double  y,
double  x
 

Referenced by FLOATNAME(), PSphereLens::project_impl(), FisheyeLens::project_impl(), and CylindricalLens::project_impl().

INLINE_LINMATH float catan2 float  y,
float  x
 

INLINE_LINMATH double cceil double  f  ) 
 

Referenced by box_filter_impl(), filter_row(), and gaussian_filter_impl().

INLINE_LINMATH double ccos double  v  ) 
 

Referenced by event_T().

INLINE_LINMATH float ccos float  v  ) 
 

INLINE_LINMATH double cfloor double  f  ) 
 

Referenced by AnimControl::advance_time(), ParametricCurveDrawer::draw(), ParametricCurveCollection::face_forward(), filter_row(), ParametricCurve::find_length(), ParametricCurveCollection::make_even(), AnimControl::pose(), AnimChannelScalarTable::write_datagram(), and FFTCompressor::write_reals().

INLINE_LINMATH bool cnan double  v  ) 
 

Referenced by CollisionSphere::recompute_bound(), BoundingLine::sqr_dist_to_line(), and CollisionPolygon::to_3d().

INLINE_LINMATH double csin double  v  ) 
 

Referenced by event_T().

INLINE_LINMATH float csin float  v  ) 
 

INLINE_LINMATH void csincos double  v,
double *  pSinResult,
double *  pCosResult
 

Referenced by FisheyeLens::extrude_impl(), CylindricalLens::extrude_impl(), FLOATNAME(), DXGraphicsStateGuardian8::GenerateSphere(), and DXGraphicsStateGuardian7::GenerateSphere().

INLINE_LINMATH void csincos float  v,
float *  pSinResult,
float *  pCosResult
 

INLINE_LINMATH double csqrt double  v  ) 
 

Referenced by Lens::build_shear_mat(), heads_up(), load_gridded_models(), look_at(), and move_gridded_stuff().

INLINE_LINMATH float csqrt float  v  ) 
 

INLINE_LINMATH double ctan double  v  ) 
 

Referenced by WindowFramework::center_trackball(), PerspectiveLens::fov_to_film(), CylindricalLens::fov_to_film(), PerspectiveLens::fov_to_focal_length(), and CylindricalLens::fov_to_focal_length().

INLINE_LINMATH float ctan float  v  ) 
 


Generated on Fri Apr 18 00:10:27 2003 for Panda by doxygen1.3