2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 14:27:42 +00:00

More collision stubs

Add *.autosave to gitignore
Update specter
This commit is contained in:
2016-06-25 18:11:09 -07:00
parent d3563ea86d
commit f470b7de93
12 changed files with 159 additions and 5 deletions

View File

@@ -0,0 +1,16 @@
#ifndef __URDE_COLLISIONUTIL_HPP__
#define __URDE_COLLISIONUTIL_HPP__
#include "GCNTypes.hpp"
#include "zeus/zeus.hpp"
namespace urde
{
namespace CollisionUtil
{
bool LineIntersectsOBBox(const zeus::COBBox&, const zeus::CMRay&, float&);
u32 RayAABoxIntersection(const zeus::CMRay&, const zeus::CAABox&, const zeus::CVector3f&, float&);
u32 RaySphereIntersection_Double(const zeus::CSphere&, const zeus::CVector3f&, const zeus::CVector3f&, double&);
}
}
#endif // __URDE_COLLISIONUTIL_HPP__