Merge pull request #6 from mbcrocci/patch-1

Fixes GenGradientV duplication
This commit is contained in:
NotNik 2020-10-09 12:31:28 +02:00 committed by GitHub
commit 9da413709c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,8 +140,8 @@ pub const Image = extern struct {
return GenImageGradientV(width, height, top, bottom);
}
pub fn GenGradientV(width: c_int, height: c_int, left: Color, right: Color) Image {
return GenImageGradientV(width, height, left, right);
pub fn GenGradientH(width: c_int, height: c_int, left: Color, right: Color) Image {
return GenImageGradientH(width, height, left, right);
}
pub fn GenGradientRadial(width: c_int, height: c_int, density: f32, inner: Color, outer: Color) Image {