Drawing wall splines
This commit is contained in:
parent
09cc69d38d
commit
b217a72e6d
4 changed files with 27 additions and 29 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue