18 #ifndef INCLUDED_BOUNDINGSPHERE 19 #define INCLUDED_BOUNDINGSPHERE 59 #endif // INCLUDED_BOUNDINGSPHERE const CVector3D & GetCenter() const
Definition: BoundingSphere.h:32
static CBoundingSphere FromSweptBox(const CBoundingBoxAligned &bbox)
Construct a bounding sphere that encompasses a bounding box swept through all possible rotations arou...
Definition: BoundingSphere.cpp:23
Definition: Vector3D.h:30
CBoundingSphere()
Definition: BoundingSphere.h:28
bool RayIntersect(const CVector3D &origin, const CVector3D &dir) const
Check if the ray, defined by an origin point and a direction unit vector interesects with the sphere...
Definition: BoundingSphere.cpp:34
float GetRadius() const
Definition: BoundingSphere.h:37
CBoundingSphere(const CVector3D ¢er, float radius)
Definition: BoundingSphere.h:30
Definition: BoundingSphere.h:25
Definition: BoundingBoxAligned.h:33
CVector3D m_Center
Definition: BoundingSphere.h:55
float m_Radius
Definition: BoundingSphere.h:56