improved formatting

This commit is contained in:
Luka Jankovic 2025-09-26 20:33:55 +02:00
parent 737ba58860
commit ccdd081d36
12 changed files with 46 additions and 37 deletions

View file

@ -24,8 +24,8 @@ struct kubo_context kubo_file_parse(char *file_name) {
struct kubo_wall *wall = malloc(sizeof(struct kubo_wall));
kubo_wall_init(wall);
for (size_t j = 0; j < scene->walls[i].vertices_count; j++) {
Vector2 vertex = {.x = scene->walls[i].vertices[j][0],
.y = scene->walls[i].vertices[j][1]};
Vector2 vertex = { .x = scene->walls[i].vertices[j][0],
.y = scene->walls[i].vertices[j][1] };
kubo_wall_add_vertex(wall, vertex);
}