Merge pull request #6 from mbcrocci/patch-1
Fixes GenGradientV duplication
This commit is contained in:
commit
9da413709c
1 changed files with 2 additions and 2 deletions
|
|
@ -140,8 +140,8 @@ pub const Image = extern struct {
|
||||||
return GenImageGradientV(width, height, top, bottom);
|
return GenImageGradientV(width, height, top, bottom);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn GenGradientV(width: c_int, height: c_int, left: Color, right: Color) Image {
|
pub fn GenGradientH(width: c_int, height: c_int, left: Color, right: Color) Image {
|
||||||
return GenImageGradientV(width, height, left, right);
|
return GenImageGradientH(width, height, left, right);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn GenGradientRadial(width: c_int, height: c_int, density: f32, inner: Color, outer: Color) Image {
|
pub fn GenGradientRadial(width: c_int, height: c_int, density: f32, inner: Color, outer: Color) Image {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue