summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2023-05-23 13:13:04 +0200
committerGitHub <[email protected]>2023-05-23 13:13:04 +0200
commitcc2d924669231ca791a2093b292545a29fcdc08b (patch)
tree79987a9754d526d091c85ddc7222071f31d3ccc1
parent85ed36b9f68feae753789d37e35fce8910d05d6a (diff)
parentde5d88c841920f569a78d822a6013e16da2064f8 (diff)
downloadraylib.com-cc2d924669231ca791a2093b292545a29fcdc08b.tar.gz
raylib.com-cc2d924669231ca791a2093b292545a29fcdc08b.zip
Merge pull request #52 from danemadsen/master
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