summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/core/core_3d_camera_first_person.c2
-rw-r--r--examples/core/core_input_multitouch.c2
-rw-r--r--examples/shapes/raygui.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/core/core_3d_camera_first_person.c b/examples/core/core_3d_camera_first_person.c
index 39fbfb2e..9225991a 100644
--- a/examples/core/core_3d_camera_first_person.c
+++ b/examples/core/core_3d_camera_first_person.c
@@ -31,7 +31,7 @@ int main(void)
camera.type = CAMERA_PERSPECTIVE;
// Generates some random columns
- float heights[MAX_COLUMNS] = { 0.0f };
+ float heights[MAX_COLUMNS] = { 0 };
Vector3 positions[MAX_COLUMNS] = { 0 };
Color colors[MAX_COLUMNS] = { 0 };
diff --git a/examples/core/core_input_multitouch.c b/examples/core/core_input_multitouch.c
index a19a3fea..584e029a 100644
--- a/examples/core/core_input_multitouch.c
+++ b/examples/core/core_input_multitouch.c
@@ -28,7 +28,7 @@ int main(void)
Color ballColor = BEIGE;
int touchCounter = 0;
- Vector2 touchPosition = { 0.0f };
+ Vector2 touchPosition = { 0 };
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//---------------------------------------------------------------------------------------
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;