Add GenImageGradientSquare (#3077)
* Add GenImageGradientSquare to allow square gradients * Fix GenImageGradientSquare and add to textures_image_generation example * Remove params from GenImageGradientSquare
This commit is contained in:
parent
84ae26cdc0
commit
a4a6d4da8a
10 changed files with 407 additions and 282 deletions
|
@ -213,6 +213,7 @@ ImageColorReplace|void|(Image *image, Color color, Color replace);|
|
|||
GenImageColor|Image|(int width, int height, Color color);|
|
||||
GenImageGradientLinear|Image|(int width, int height, int direction, Color start, Color end);|
|
||||
GenImageGradientRadial|Image|(int width, int height, float density, Color inner, Color outer);|
|
||||
GenImageGradientSquare|Image|(int width, int height, float density, Color inner, Color outer);|
|
||||
GenImageChecked|Image|(int width, int height, int checksX, int checksY, Color col1, Color col2);|
|
||||
GenImageWhiteNoise|Image|(int width, int height, float factor);|
|
||||
GenImagePerlinNoise|Image|(int width, int height, int offsetX, int offsetY, float scale);|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue