From a4ea9f872ffef9ffe66fade37e984c3cc97910cb Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 5 Oct 2020 20:04:33 +0200 Subject: Review "aggregate initializations" #1403 --- examples/core/core_3d_camera_first_person.c | 2 +- examples/core/core_input_multitouch.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/core') 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 //--------------------------------------------------------------------------------------- -- cgit v1.2.3