Review "aggregate initializations" #1403

This commit is contained in:
Ray 2020-10-05 20:04:33 +02:00
parent a8685ee4fd
commit a4ea9f872f
8 changed files with 10 additions and 10 deletions

View file

@ -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 };

View file

@ -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
//---------------------------------------------------------------------------------------