summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDane Madsen <[email protected]>2023-05-23 21:06:56 +1000
committerGitHub <[email protected]>2023-05-23 21:06:56 +1000
commitde5d88c841920f569a78d822a6013e16da2064f8 (patch)
tree79987a9754d526d091c85ddc7222071f31d3ccc1
parent85ed36b9f68feae753789d37e35fce8910d05d6a (diff)
downloadraylib.com-de5d88c841920f569a78d822a6013e16da2064f8.tar.gz
raylib.com-de5d88c841920f569a78d822a6013e16da2064f8.zip
Update raylib_textures.c with square gradient
-rw-r--r--cheatsheet/raylib_textures.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cheatsheet/raylib_textures.c b/cheatsheet/raylib_textures.c
index b89d12b..7beb305 100644
--- a/cheatsheet/raylib_textures.c
+++ b/cheatsheet/raylib_textures.c
@@ -16,6 +16,7 @@
Image GenImageColor(int width, int height, Color color); // Generate image: plain color
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 GenImageGradientSquare(int width, int height, float density, Color inner, Color outer); // Generate image: square 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
Image GenImagePerlinNoise(int width, int height, int offsetX, int offsetY, float scale); // Generate image: perlin noise