mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
adding comment about parameter's purpose
This commit is contained in:
parent
7852321152
commit
f66398d366
1 changed files with 2 additions and 0 deletions
|
@ -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() :
|
||||
|
|
Loading…
Reference in a new issue