Refactoring {0} to { 0 } to follow conventions (#5519)

Co-authored-by: maiconpintoabreu <maicon@thinkpad02.exads.com>
This commit is contained in:
Maicon Santana
2026-01-29 16:30:03 +00:00
committed by GitHub
parent de7fc12be0
commit 08e79a16b0
11 changed files with 20 additions and 20 deletions

View File

@ -65,7 +65,7 @@ int main(void)
Shader shdrRaster = LoadShader(0, TextFormat("resources/shaders/glsl%i/hybrid_raster.fs", GLSL_VERSION));
// Declare Struct used to store camera locs
RayLocs marchLocs = {0};
RayLocs marchLocs = { 0 };
// Fill the struct with shader locs
marchLocs.camPos = GetShaderLocation(shdrRaymarch, "camPos");

View File

@ -41,7 +41,7 @@ int main(void)
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - vertex displacement");
// set up camera
Camera camera = {0};
Camera camera = { 0 };
camera.position = (Vector3) {20.0f, 5.0f, -20.0f};
camera.target = (Vector3) {0.0f, 0.0f, 0.0f};
camera.up = (Vector3) {0.0f, 1.0f, 0.0f};