Functions | |
GLfloat | cluVertexDistance (const CLvertex *v0, const CLvertex *v1) |
GLfloat | cluPlaneDistance (const CLUplane *plane, const CLvertex *v) |
GLfloat | cluSphereDistance (const CLUsphere *sphere, const CLvertex *v) |
GLfloat | cluSphereDistanceSphere (const CLUsphere *sphere0, const CLUsphere *sphere1) |
The implicit argument to all these functions is a vertex. For example, cluPlaneDistance() does not explicitly state an input argument so it implies distance to a vertex.
|
Definition at line 435 of file clumaths.c. References cluNormalDifference(), and cluNormalMagnitude(). Referenced by cluSetConeSphereVertex(), cluSetSphereMesh(), cluSetSphereModel(), and cluSphereDistance(). |