adding comment about parameter's purpose

This commit is contained in:
Andrew Meadows 2014-08-13 15:06:34 -07:00
parent 7852321152
commit f66398d366

View file

@ -13,6 +13,8 @@
#include "Shape.h"
#include "SharedUtil.h"
// This parameter helps keep the actual point of contact slightly inside each shape
// which allows the collisions to happen almost every frame for more frequent updates.
const float CONTACT_PENETRATION_ALLOWANCE = 0.005f;
ContactPoint::ContactPoint() :