• Lerp vs math approach
    1 replies, posted
What is the difference between lerp and math.Approach? What situations should you use one or the other Thanks in advacnce
[QUOTE=Monkey4TL;51093424]What is the difference between lerp and math.Approach? What situations should you use one or the other Thanks in advacnce[/QUOTE] Lerp steands for Linear Interpolation, which is an algorithm used to generate intermediate "fake" points between "real" data points in order to fit curves: [url]https://en.wikipedia.org/wiki/Linear_interpolation[/url] The math.Approach function is just an increment function with a conditional return: [url]https://wiki.garrysmod.com/page/math/Approach[/url]
Sorry, you need to Log In to post a reply to this thread.