summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2023-05-22 12:18:02 +0200
committerGitHub <[email protected]>2023-05-22 12:18:02 +0200
commit85ed36b9f68feae753789d37e35fce8910d05d6a (patch)
tree9fc868657faef9a3378e498258efad65ae2e90e3
parent76068dbe4cd729f43a5489bded7ac3ab9233e27a (diff)
parent347d0ac36a0f4982e2a159e556224907f3f1400d (diff)
downloadraylib.com-85ed36b9f68feae753789d37e35fce8910d05d6a.tar.gz
raylib.com-85ed36b9f68feae753789d37e35fce8910d05d6a.zip
Merge pull request #51 from danemadsen/master
Update Textures Cheatsheet to reflect Linear Gradient change
-rw-r--r--cheatsheet/raylib_textures.c3
1 files changed, 1 insertions, 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