GLUS
|
#include "GL/glus.h"
Functions | |
GLUSvoid GLUSAPIENTRY | glusSphereCopyf (GLUSfloat resultCenter[4], GLUSfloat resultRadius, const GLUSfloat center[4], const GLUSfloat radius) |
Copies a sphere. More... | |
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... | |
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. |
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. |