4#include <math/seadVector.h>
8template <
typename VectorType>
21 Sphere(
const VectorType& center,
T radius)
49static_assert(
sizeof(
Sphere2f) == 0xC,
"sead::Sphere<T> size mismatch");
50static_assert(
sizeof(
Sphere3f) == 0x10,
"sead::Sphere<T> size mismatch");
Definition seadSphere.h:10
void setRadius(T radius)
Definition seadSphere.h:35
Sphere(const VectorType ¢er, T radius)
Definition seadSphere.h:21
const VectorType & getCenter() const
Definition seadSphere.h:27
T mRadius
Definition seadSphere.h:42
VectorType::ValueType T
Definition seadSphere.h:12
Sphere()
Definition seadSphere.h:15
T getRadius() const
Definition seadSphere.h:28
VectorType mCenter
Definition seadSphere.h:41
void setCenter(const VectorType ¢er)
Definition seadSphere.h:30
Definition seadAssert.h:44
Sphere< Vector2f > Sphere2f
Definition seadSphere.h:45
Vector2< f32 > Vector2f
Definition seadVector.h:238
Sphere< Vector3f > Sphere3f
Definition seadSphere.h:46
Vector3< f32 > Vector3f
Definition seadVector.h:239