alright so this is a lerp, all fine, no complaints herex * a + y * (1 - a)
but what a lerpaderp is this?x * a + (1 - x) * (1 - a)
@namark What don't you like about this?
@Lwasserman what is it?maybe lerp(x, 1-x, a) or maybe lerp(a, 1-a, x) or something completely different?
@namark Uh oh...so not just a math problem? What is lerp? I thought you were making some kind of commentary about the math looking like babble..I may have made a wrong assumption here...
@Lwasserman
It's a weird programmer slang for linear interpolationhttps://en.wikipedia.org/wiki/Linear_interpolation#Programming_language_support
I'm trying to make sense of some code this idiot wrote here:https://notabug.org/namark/libsimple_graphical/src/master/source/simple/graphical/pixels.hpp#L33-L34
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.
@Lwasserman
It's a weird programmer slang for linear interpolation
https://en.wikipedia.org/wiki/Linear_interpolation#Programming_language_support
I'm trying to make sense of some code this idiot wrote here:
https://notabug.org/namark/libsimple_graphical/src/master/source/simple/graphical/pixels.hpp#L33-L34