diff options
| author | Dane Madsen <[email protected]> | 2023-05-22 23:20:28 +1000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-22 15:20:28 +0200 |
| commit | a4a6d4da8a26d131bc3f3e643f6fe51de281d15f (patch) | |
| tree | 62aaabf5222f158dc1ac4e861e499611d0d1303a /src/raylib.h | |
| parent | 84ae26cdc0ab22e7721552647cd6c30d8a478bae (diff) | |
| download | raylib-a4a6d4da8a26d131bc3f3e643f6fe51de281d15f.tar.gz raylib-a4a6d4da8a26d131bc3f3e643f6fe51de281d15f.zip | |
Add GenImageGradientSquare (#3077)
* Add GenImageGradientSquare to allow square gradients
* Fix GenImageGradientSquare and add to textures_image_generation example
* Remove params from GenImageGradientSquare
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 02d8e444..703e70c2 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1241,6 +1241,7 @@ RLAPI bool ExportImageAsCode(Image image, const char *fileName); RLAPI Image GenImageColor(int width, int height, Color color); // Generate image: plain color RLAPI Image GenImageGradientLinear(int width, int height, int direction, Color start, Color end); // Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient RLAPI Image GenImageGradientRadial(int width, int height, float density, Color inner, Color outer); // Generate image: radial gradient +RLAPI Image GenImageGradientSquare(int width, int height, float density, Color inner, Color outer); // Generate image: square gradient RLAPI Image GenImageChecked(int width, int height, int checksX, int checksY, Color col1, Color col2); // Generate image: checked RLAPI Image GenImageWhiteNoise(int width, int height, float factor); // Generate image: white noise RLAPI Image GenImagePerlinNoise(int width, int height, int offsetX, int offsetY, float scale); // Generate image: perlin noise |
