improved formatting
This commit is contained in:
parent
737ba58860
commit
ccdd081d36
12 changed files with 46 additions and 37 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue