GLUS
|
Go to the source code of this file.
Functions | |
GLUSAPI GLUSvoid GLUSAPIENTRY | glusSphereCopyf (GLUSfloat resultCenter[4], GLUSfloat resultRadius, const GLUSfloat center[4], const GLUSfloat radius) |
Copies a sphere. More... | |
GLUSAPI GLUSfloat GLUSAPIENTRY | glusSphereDistancePoint4f (const GLUSfloat center[4], const GLUSfloat radius, const GLUSfloat point[4]) |
Calculates the signed distance from a sphere to a point. More... | |
GLUSAPI GLUSvoid GLUSAPIENTRY glusSphereCopyf | ( | GLUSfloat | resultCenter[4], |
GLUSfloat | resultRadius, | ||
const GLUSfloat | center[4], | ||
const GLUSfloat | radius | ||
) |
Copies a sphere.
resultCenter | Destination center. |
resultRadius | Destination radius. |
center | Source center. |
radius | Source radius. |
GLUSAPI GLUSfloat GLUSAPIENTRY glusSphereDistancePoint4f | ( | const GLUSfloat | center[4], |
const GLUSfloat | radius, | ||
const GLUSfloat | point[4] | ||
) |
Calculates the signed distance from a sphere to a point.
If the value is negative, the point is inside the sphere.
center | The center of the sphere. |
radius | The radius of the sphere. |
point | The used point. |