Start antiglitch
This commit is contained in:
parent
3310008a0d
commit
10366c2a09
4 changed files with 71 additions and 65 deletions
|
@ -640,8 +640,7 @@ static inline TPE_Unit TPE_nonZero(TPE_Unit x)
|
|||
static inline TPE_Unit TPE_connectionTension(TPE_Unit length,
|
||||
TPE_Unit desiredLength)
|
||||
{
|
||||
return (length * TPE_F) / desiredLength
|
||||
- TPE_F;
|
||||
return (length * TPE_F) / desiredLength - TPE_F;
|
||||
}
|
||||
|
||||
TPE_Joint TPE_joint(TPE_Vec3 position, TPE_Unit size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue