Class EdgePenetrationQuery

Inheritance Relationships

Base Type

Class Documentation

class legion::physics::EdgePenetrationQuery : public legion::physics::PenetrationQuery

Public Functions

EdgePenetrationQuery(HalfEdgeEdge *pRefEdge, HalfEdgeEdge *pIncEdge, math::vec3 &pFaceCentroid, math::vec3 &pNormal, float &pPenetration, bool pIsARef)
virtual void populateContactList(physics_manifold &manifold, math::mat4 &refTransform, math::mat4 incTransform, PhysicsCollider *refCollider)

given the necessary information to create contact points between 2 colliding colliders calculates the contact points of the colliders and pushes them into the physics_manifold

Public Members

HalfEdgeEdge *refEdge = nullptr
HalfEdgeEdge *incEdge = nullptr