Functions |
float | computeOBBIntersection (const CVec2 &a, const CVec2 &b, const CVec2 &c, const CVec2 &d, float size) |
bool | intersectPathCapsule (const CVec2 &c, const CVec2 &p, float r0, const CVec2 &hd, const CVec2 &a, const CVec2 &b, float radius, float &f) |
bool | intersectPathCircle (const CVec2 &c, const CVec2 &p, float r0, const CVec2 &hd, const CVec2 &m1, float r1, float &angle) |
bool | intersectPathLine (const CVec2 &c, const CVec2 &p, float r0, const CVec2 &hd, const CVec2 &p1, const CVec2 &p2, float &angle) |
bool | intersectRayCapsule (const CVec2 &x, const CVec2 &t, const CVec2 &a, const CVec2 &b, float radius, float &f) |
bool | intersectRayCircle (const CVec2 &m, float r, const CVec2 &x, const CVec2 &t, float &f) |
bool | intersectRayLineSegment (const CVec2 &a, const CVec2 &b, const CVec2 &x, const CVec2 &t, float &f) |
bool | isInAABB (const std::pair< CVec2, CVec2 > &aabb, const CVec2 &p) |
float | shortestDistanceToLineSegment (const CVec2 &a, const CVec2 &b, const CVec2 &x) |
bool | testAABBOverlap (const std::pair< CVec2, CVec2 > &a, const std::pair< CVec2, CVec2 > &b) |