Second GenImageGradientV -> GenImageGradientH

This commit is contained in:
NotNik 2020-10-09 12:32:20 +02:00 committed by GitHub
parent 4bba1b08d3
commit b10b157d9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,8 +132,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 {