Get color lerp interpolation between two colors, factor [0.0f..1.0f]
// 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.