Public Member Functions | |
| bit | contains (vec3 point) |
| Return whether the point is within the sphere. | |
| bit | contains (sphere3 sphere) |
| Return whether the sphere is within the sphere. | |
| void | ensure (vec3 point) |
| Resize the sphere to contain the point. | |
| void | ensure (sphere3 sphere) |
| Resize the sphere to contain the other sphere. | |
| bit | isnan () |
| Return whether this has not been initialized. | |
| void | set (vec3 center, float radius) |
| Assign parameters. | |
| bit | overlaps (sphere3 other) |
| Return whether this and that sphere overlap one another. | |
Public Attributes | |
| vec3 | center |
| Center of the sphere. | |
| float | radius |
| Sphere radius. | |
Related Functions | |
| (Note that these are not member functions.) | |
| sphere3 | asphere3 (vec3 center, float radius) |
| Create a sphere with the specified parameters. | |
|
|
Return whether this and that sphere overlap one another.
|
1.3.2