MPMA Framework 0.4
Functions
GEO::RESOLVE Namespace Reference

Collision resolution. More...

Functions

bool CircleEqualMass (const GEO::Vector2 &pos1, const GEO::Vector2 &vel1, const GEO::Vector2 &pos2, const GEO::Vector2 &vel2, GEO::Vector2 &outVel1, GEO::Vector2 &outVel2)
 resolves a collision between two round objects of equal mass (circle or sphere)
bool CircleDifferentMass (const GEO::Vector2 &pos1, const GEO::Vector2 &vel1, float mass1, const GEO::Vector2 &pos2, const GEO::Vector2 &vel2, float mass2, GEO::Vector2 &outVel1, GEO::Vector2 &outVel2)
 resolves a collision between two round objects of equal mass (circle or sphere)

Detailed Description

Collision resolution.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends