sead
Loading...
Searching...
No Matches
sead::Sphere< VectorType > Class Template Reference

#include <seadSphere.h>

Public Types

typedef VectorType::ValueType T

Public Member Functions

 Sphere ()
 Sphere (const VectorType &center, T radius)
const VectorType & getCenter () const
T getRadius () const
void setCenter (const VectorType &center)
void setRadius (T radius)

Private Attributes

VectorType mCenter
T mRadius

Member Typedef Documentation

◆ T

template<typename VectorType>
typedef VectorType::ValueType sead::Sphere< VectorType >::T

Constructor & Destructor Documentation

◆ Sphere() [1/2]

template<typename VectorType>
sead::Sphere< VectorType >::Sphere ( )
inline

◆ Sphere() [2/2]

template<typename VectorType>
sead::Sphere< VectorType >::Sphere ( const VectorType & center,
T radius )
inline

Member Function Documentation

◆ getCenter()

template<typename VectorType>
const VectorType & sead::Sphere< VectorType >::getCenter ( ) const
inline

◆ getRadius()

template<typename VectorType>
T sead::Sphere< VectorType >::getRadius ( ) const
inline

◆ setCenter()

template<typename VectorType>
void sead::Sphere< VectorType >::setCenter ( const VectorType & center)
inline

◆ setRadius()

template<typename VectorType>
void sead::Sphere< VectorType >::setRadius ( T radius)
inline

Member Data Documentation

◆ mCenter

template<typename VectorType>
VectorType sead::Sphere< VectorType >::mCenter
private

◆ mRadius

template<typename VectorType>
T sead::Sphere< VectorType >::mRadius
private