VS format

main
Cameron Murphy Reikes 2 years ago
parent 0752ac8989
commit b942e0afd9

@ -384,13 +384,17 @@ static void grid_correct_for_holes(GameState *gs, struct Entity *grid)
V2 cur_local_pos = entity_shape_pos(N); V2 cur_local_pos = entity_shape_pos(N);
const V2 dirs[] = { const V2 dirs[] = {
(V2) { (V2) {
.x = -1.0f, .y = 0.0f}, .x = -1.0f, .y = 0.0f
},
(V2) { (V2) {
.x = 1.0f, .y = 0.0f}, .x = 1.0f, .y = 0.0f
},
(V2) { (V2) {
.x = 0.0f, .y = 1.0f}, .x = 0.0f, .y = 1.0f
},
(V2) { (V2) {
.x = 0.0f, .y = -1.0f}, .x = 0.0f, .y = -1.0f
},
}; };
int num_dirs = sizeof(dirs) / sizeof(*dirs); int num_dirs = sizeof(dirs) / sizeof(*dirs);

Loading…
Cancel
Save