Get color linearly interpolated between two colors, amount [0.0..1.0]
// Interpolate halfway between black and white c = raylib.ColorLerp(raylib.BLACK, raylib.WHITE, 0.5) print c // a mid-gray color
There was an error while loading. Please reload this page.