metaforce/Runtime/Collision/CCollidableOBBTree.cpp

34 lines
640 B
C++
Raw Normal View History

2016-04-27 00:26:02 +00:00
#include "CCollidableOBBTree.hpp"
namespace urde
{
CCollidableOBBTree::CCollidableOBBTree(const COBBTree* tree, const urde::CMaterialList& material)
: CCollisionPrimitive(material),
x10_tree((COBBTree*)tree)
{
}
FourCC CCollidableOBBTree::GetPrimType() const
{
return SBIG('OBBT');
}
CRayCastResult CCollidableOBBTree::CastRayInternal(const CInternalRayCastStructure&) const
{
}
zeus::CAABox CCollidableOBBTree::CalculateAABox(const zeus::CTransform& xf) const
2016-04-27 00:26:02 +00:00
{
return x10_tree->CalculateAABox(xf);
2016-04-27 00:26:02 +00:00
}
zeus::CAABox CCollidableOBBTree::CalculateLocalAABox() const
{
return x10_tree->CalculateLocalAABox();
2016-04-27 00:26:02 +00:00
}
}