garrysmod
garrysmod copied to clipboard
SmoothDamp function for math.* and vectors.
Critically damped smoothing function for the math library and Vector metatable. Useful for camera motion, path following, and as an alternative to Lerp
/LerpVector
.
Produces smoother results than Lerp
/LerpVector
with a constant fraction argument.
Based on Game Programming Gems 4
chapter 1.10.
Yay, my Catmull-Rom cure was not merged :D. At Least I hope your mod will