|
predictedVelocity += (predictedVelocity * moveDir < 0 ? 2*moveDir : moveDir) |
|
predictedVelocity += (predictedVelocity * moveDir < 0 ? 2*moveDir : moveDir); |
|
return Math.max(-min, Math.min(value, max)); |
|
return Math.max(min, Math.min(value, max)); |
|
That's what I do in PPP and I think that's what Apollon does too, as does RaikoMX and possibly other surfers. -- PEZ |
|
That's what I do in PPP and I think that's what Apollon does too, as does RaikoMX and possibly other surfers. -- PEZ |