#include <TSphere.h>
Public Member Functions | |
TSphere () | |
TSphere (CVector3f vCenter, T radius) | |
TSphere (const TSphere &other) | |
const TSphere & | operator= (const TSphere &other) |
const TSphere< T > | operator+ (const TVector3< T > &vec) const |
const TSphere< T > & | operator+= (const TVector3< T > &vec) |
const TSphere< T > | operator* (const TVector3< T > &vec) const |
const TSphere< T > & | operator*= (const TVector3< T > &vec) |
const TSphere< T > | operator* (const T &value) const |
const TSphere< T > & | operator*= (const T &value) |
const TSphere< T > | GetRotatedSphere (const CVector3f &vRotation) const |
bool | RayIntersection (const CVector3f &vRayOrigin, const CVector3f &vRayDir, float &fDistance) const |
bool | Intersects (const TSphere< T > &other) const |
void | Log (word wTargetLog) const |
Public Attributes | |
TVector3< T > | m_vCenter |
T | m_Radius |
Definition at line 35 of file TSphere.h.
const TSphere< T > TSphere< T >::GetRotatedSphere | ( | const CVector3f & | vRotation | ) | const [inline] |
Definition at line 73 of file TSphere.h.
References TSphere< T >::m_Radius, TSphere< T >::m_vCenter, and CMatrix44::RotationZXY().
Definition at line 103 of file TSphere.h.
References TSphere< T >::m_Radius, and TSphere< T >::m_vCenter.
Definition at line 58 of file TSphere.h.
References TSphere< T >::m_Radius, and TSphere< T >::m_vCenter.
Definition at line 51 of file TSphere.h.
References TSphere< T >::m_Radius, and TSphere< T >::m_vCenter.
const TSphere<T> TSphere< T >::operator* | ( | const TVector3< T > & | vec | ) | const [inline] |
Definition at line 49 of file TSphere.h.
References TSphere< T >::m_Radius, TSphere< T >::m_vCenter, TVector3< T >::m_X, TVector3< T >::m_Y, TVector3< T >::m_Z, and max.
const TSphere<T>& TSphere< T >::operator*= | ( | const TVector3< T > & | vec | ) | [inline] |
Definition at line 50 of file TSphere.h.
References TSphere< T >::m_Radius, TVector3< T >::m_X, TVector3< T >::m_Y, TVector3< T >::m_Z, and max.
const TSphere<T> TSphere< T >::operator+ | ( | const TVector3< T > & | vec | ) | const [inline] |
Definition at line 46 of file TSphere.h.
References TSphere< T >::m_Radius, and TSphere< T >::m_vCenter.
const TSphere& TSphere< T >::operator= | ( | const TSphere< T > & | other | ) | [inline] |
Definition at line 44 of file TSphere.h.
References TSphere< T >::m_Radius, and TSphere< T >::m_vCenter.
bool TSphere< T >::RayIntersection | ( | const CVector3f & | vRayOrigin, | |
const CVector3f & | vRayDir, | |||
float & | fDistance | |||
) | const [inline] |
Definition at line 82 of file TSphere.h.
References TVector3< T >::Dot(), TSphere< T >::m_Radius, and TSphere< T >::m_vCenter.
Definition at line 66 of file TSphere.h.
Referenced by TSphere< T >::GetRotatedSphere(), TSphere< T >::Intersects(), TSphere< T >::Log(), TSphere< T >::operator*(), TSphere< T >::operator*=(), TSphere< T >::operator+(), TSphere< T >::operator=(), TSphere< T >::RayIntersection(), and CFrustum::SphereInFrustum().
Definition at line 65 of file TSphere.h.
Referenced by TSphere< T >::GetRotatedSphere(), TSphere< T >::Intersects(), TSphere< T >::Log(), TSphere< T >::operator*(), TSphere< T >::operator+(), TSphere< T >::operator=(), TSphere< T >::RayIntersection(), and CFrustum::SphereInFrustum().