From 347d0ac36a0f4982e2a159e556224907f3f1400d Mon Sep 17 00:00:00 2001 From: dane_madsen Date: Mon, 22 May 2023 20:10:03 +1000 Subject: Update Textures Cheatsheet to reflect Linear Gradient change --- cheatsheet/raylib_textures.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cheatsheet/raylib_textures.c b/cheatsheet/raylib_textures.c index b199b5d..b89d12b 100644 --- a/cheatsheet/raylib_textures.c +++ b/cheatsheet/raylib_textures.c @@ -14,8 +14,7 @@ // Image generation functions Image GenImageColor(int width, int height, Color color); // Generate image: plain color - Image GenImageGradientV(int width, int height, Color top, Color bottom); // Generate image: vertical gradient - Image GenImageGradientH(int width, int height, Color left, Color right); // Generate image: horizontal gradient + Image GenImageGradientLinear(int width, int height, int direction, Color start, Color end); // Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient Image GenImageGradientRadial(int width, int height, float density, Color inner, Color outer); // Generate image: radial gradient Image GenImageChecked(int width, int height, int checksX, int checksY, Color col1, Color col2); // Generate image: checked Image GenImageWhiteNoise(int width, int height, float factor); // Generate image: white noise -- cgit v1.2.3