2016-06-24 20:09:38 +00:00
|
|
|
#include "CCollidableSphere.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
const CCollisionPrimitive::Type CCollidableSphere::sType(CCollidableSphere::SetStaticTableIndex, "CCollidableSphere");
|
|
|
|
u32 CCollidableSphere::sTableIndex = -1;
|
|
|
|
|
|
|
|
u32 CCollidableSphere::GetTableIndex() const
|
|
|
|
{
|
|
|
|
return sTableIndex;
|
|
|
|
}
|
|
|
|
|
|
|
|
zeus::CAABox CCollidableSphere::CalculateAABox(const zeus::CTransform &) const
|
|
|
|
{
|
|
|
|
return {};
|
|
|
|
}
|
|
|
|
|
|
|
|
zeus::CAABox CCollidableSphere::CalculateLocalAABox() const
|
|
|
|
{
|
|
|
|
return {};
|
|
|
|
}
|
|
|
|
|
|
|
|
FourCC CCollidableSphere::GetPrimType() const
|
|
|
|
{
|
|
|
|
return SBIG('SPHR');
|
|
|
|
}
|
|
|
|
|
|
|
|
CRayCastResult CCollidableSphere::CastRayInternal(const CInternalRayCastStructure &) const
|
|
|
|
{
|
|
|
|
return {};
|
|
|
|
}
|
|
|
|
|
2016-06-24 21:30:25 +00:00
|
|
|
const CCollisionPrimitive::Type& CCollidableSphere::GetType()
|
|
|
|
{
|
|
|
|
return sType;
|
|
|
|
}
|
|
|
|
|
|
|
|
void CCollidableSphere::SetStaticTableIndex(u32 index)
|
|
|
|
{
|
|
|
|
sTableIndex = index;
|
|
|
|
}
|
|
|
|
|
2016-06-24 20:09:38 +00:00
|
|
|
}
|