Drawing wall splines

This commit is contained in:
Luka Jankovic 2025-06-16 23:44:44 +02:00
parent 09cc69d38d
commit b217a72e6d
4 changed files with 27 additions and 29 deletions

View file

@ -8,6 +8,8 @@ struct kubo_wall *kubo_wall_init() {
wall->num_vertices_alloc = KUBO_WALL_INIT_VERTICES;
wall->vertices = malloc(sizeof(Vector2) * wall->num_vertices_alloc);
wall->num_vertices = 0;
wall->state = KUBO_WALL_INIT;
return wall;
}