31 #include "Core/BoundingObjects/AABB.h" 42 : radius(Max(0.0f, r)), Center(center) { }
44 constexpr
float GetRedius()
const {
return radius; }
45 constexpr
void SetRadius(
float r) { this->radius = Max(0.0f, r); }
52 auto center = box.GetCenter();
53 auto length = box.Length();
54 float radius = Max(length.x, length.y, length.z) * 0.5f;
Definition: BoundingSphere.h:35
Definition: Application.cpp:49