#include <Sphere.h>
◆ Sphere() [1/3]
◆ Sphere() [2/3]
Sphere::Sphere |
( |
const Float3 & |
inCenter, |
|
|
float |
inRadius |
|
) |
| |
|
inline |
◆ Sphere() [3/3]
Sphere::Sphere |
( |
Vec3Arg |
inCenter, |
|
|
float |
inRadius |
|
) |
| |
|
inline |
◆ EncapsulatePoint()
void Sphere::EncapsulatePoint |
( |
Vec3Arg |
inPoint | ) |
|
|
inline |
Create the minimal sphere that encapsulates this sphere and inPoint.
◆ GetCenter()
Vec3 Sphere::GetCenter |
( |
| ) |
const |
|
inline |
◆ GetRadius()
float Sphere::GetRadius |
( |
| ) |
const |
|
inline |
◆ GetSupport()
Calculate the support vector for this convex shape.
◆ Overlaps() [1/2]
bool Sphere::Overlaps |
( |
const AABox & |
inOther | ) |
const |
|
inline |
Check if this sphere overlaps with a box.
◆ Overlaps() [2/2]
bool Sphere::Overlaps |
( |
const Sphere & |
inB | ) |
const |
|
inline |
Test if two spheres overlap.
The documentation for this class was generated from the following file: