summaryrefslogtreecommitdiffhomepage
path: root/examples/shapes
diff options
context:
space:
mode:
authorRay <[email protected]>2020-10-05 20:04:33 +0200
committerRay <[email protected]>2020-10-05 20:04:33 +0200
commita4ea9f872ffef9ffe66fade37e984c3cc97910cb (patch)
treeb20ce1514e05c6685dd9d7e6859e3bdbcd5832e9 /examples/shapes
parenta8685ee4fd6eaba79fa53f4adf261d672947a000 (diff)
downloadraylib-a4ea9f872ffef9ffe66fade37e984c3cc97910cb.tar.gz
raylib-a4ea9f872ffef9ffe66fade37e984c3cc97910cb.zip
Review "aggregate initializations" #1403
Diffstat (limited to 'examples/shapes')
-rw-r--r--examples/shapes/raygui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shapes/raygui.h b/examples/shapes/raygui.h
index 226ce8f2..6d5df13e 100644
--- a/examples/shapes/raygui.h
+++ b/examples/shapes/raygui.h
@@ -4337,7 +4337,7 @@ static const char **GuiTextSplit(const char *text, int *count, int *textRow)
// NOTE: Color data should be passed normalized
static Vector3 ConvertRGBtoHSV(Vector3 rgb)
{
- Vector3 hsv = { 0.0f };
+ Vector3 hsv = { 0 };
float min = 0.0f;
float max = 0.0f;
float delta = 0.0f;
@@ -4390,7 +4390,7 @@ static Vector3 ConvertRGBtoHSV(Vector3 rgb)
// NOTE: Color data should be passed normalized
static Vector3 ConvertHSVtoRGB(Vector3 hsv)
{
- Vector3 rgb = { 0.0f };
+ Vector3 rgb = { 0 };
float hh = 0.0f, p = 0.0f, q = 0.0f, t = 0.0f, ff = 0.0f;
long i = 0;