tile2d
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
ImpulseMethod Class Reference

Resolves the collision between two bodies using the impulse method. More...

#include <collide.hpp>

Classes

struct  Impulse
 

Public Member Functions

void operator() (Body &body1, Body &body2, const CollisionManifold &manifold)
 

Detailed Description

Resolves the collision between two bodies using the impulse method.

Parameters
[out]body1The first tbody to resolve
[out]body2The second body to resolve
[in]manifoldsMust contain the depth, normal, and collision points between body1 and body2.

The documentation for this class was generated from the following file: