format tweak
This commit is contained in:
parent
a4079ad565
commit
5b5dff3f9e
1 changed files with 1 additions and 1 deletions
|
@ -3821,7 +3821,7 @@ Color Fade(Color color, float alpha)
|
||||||
if (alpha < 0.0f) alpha = 0.0f;
|
if (alpha < 0.0f) alpha = 0.0f;
|
||||||
else if (alpha > 1.0f) alpha = 1.0f;
|
else if (alpha > 1.0f) alpha = 1.0f;
|
||||||
|
|
||||||
return (Color){color.r, color.g, color.b, (unsigned char)(255.0f*alpha)};
|
return (Color){ color.r, color.g, color.b, (unsigned char)(255.0f*alpha) };
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get hexadecimal value for a Color
|
// Get hexadecimal value for a Color
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue