Open 3D Engine AzCore API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
A simple bounding sphere class for fast intersection testing. More...
#include <Sphere.h>
Public Member Functions | |
AZ_TYPE_INFO (Sphere, "{34BB6527-81AE-4854-99ED-D1A319DCD0A9}") | |
Sphere (const Vector3 ¢er, float radius) | |
const Vector3 & | GetCenter () const |
float | GetRadius () const |
void | SetCenter (const Vector3 ¢er) |
void | SetRadius (float radius) |
void | Set (const Sphere &sphere) |
bool | operator== (const Sphere &rhs) const |
bool | operator!= (const Sphere &rhs) const |
Static Public Member Functions | |
static Sphere | CreateUnitSphere () |
static Sphere | CreateFromAabb (const Aabb &aabb) |
A simple bounding sphere class for fast intersection testing.
AZ_MATH_INLINE void AZ::Sphere::Set | ( | const Sphere & | sphere | ) |