Show_Sphere
Functions | |
void | DShow_Sphere (HC_KEY key, HCD_POINT *center, double *radius, HC_DVECTOR *axis, HC_DVECTOR *ortho) |
void | Show_Sphere (HC_KEY key, HC_POINT *center, float *radius, HC_POINT *axis, HC_POINT *ortho) |
Returns the parameters of a sphere, as defined in a previous call to Insert_Sphere(). More... | |
Detailed Description
Function Documentation
◆ Show_Sphere()
void Show_Sphere | ( | HC_KEY | key, |
HC_POINT * | center, | ||
float * | radius, | ||
HC_POINT * | axis, | ||
HC_POINT * | ortho | ||
) |
Returns the parameters of a sphere, as defined in a previous call to Insert_Sphere().
- Parameters
-
key - Key to a sphere. center - An x-y-z triplet for the coordinates of center the sphere. Passed by reference. Returned to user. radius - Length of the radius of the sphere. Passed by reference. Returned to user. axis - Vector that points in the longtitudal/vertical direction. Passed by reference. Returned to user. ortho - Vector that points in the latitudal/horizontal direction. Passed by reference. Returned to user.
DETAILS
The sphere primitive is tesselated at draw time which can greatly reduce the memory footprint of an application in which spheres are widely used. The tesselation of the sphere is controlled by the "sphere" option within the "tesselation" Rendering_Option.