diff options
| author | Ray <[email protected]> | 2017-06-28 16:20:25 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-06-28 16:20:25 +0200 |
| commit | c3049a9b06490df865d92009dc80ad0683305128 (patch) | |
| tree | 698026296624ab14e0822fceaddf5c03559e9705 /src/raylib.h | |
| parent | c51f63f6618d1e5bf1b8289a79e999b2e5337c6a (diff) | |
| parent | a0ac8ee2c4ce14a23deedeccf9911977e119749d (diff) | |
| download | raylib-c3049a9b06490df865d92009dc80ad0683305128.tar.gz raylib-c3049a9b06490df865d92009dc80ad0683305128.zip | |
Merge pull request #311 from nounoursheureux/image_gen
Add more image generation functions: radial gradient and perlin noise
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index aa55b776..a9483f31 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -877,8 +877,10 @@ RLAPI void ImageColorBrightness(Image *image, int brightness); // Image generation functions RLAPI Image GenImageGradientV(int width, int height, Color top, Color bottom); // Generate image: vertical gradient RLAPI Image GenImageGradientH(int width, int height, Color left, Color right); // Generate image: horizontal gradient +RLAPI Image GenImageRadialGradient(int width, int height, Color inner, Color outer); // Generate image: radial 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, float scale); // Generate image: perlin noise RLAPI Image GenImageCellular(int width, int height, int tileSize); // Generate image: cellular algorithm. Bigger tileSize means bigger cells // Texture2D configuration functions |
