Skip to content

Commit

Permalink
doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JCash committed Dec 25, 2022
1 parent 243dc3d commit 5239159
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,9 @@ void generate_and_draw(int numpoints, const jcv_point* points, int imagewidth, i
memset(&diagram, 0, sizeof(jcv_diagram));
jcv_diagram_generate(count, points, 0, 0, &diagram );

draw_edges(diagram);
draw_cells(diagram);
draw_edges(&diagram);
draw_cells(&diagram);
draw_delauney(&diagram);

jcv_diagram_free( &diagram );
}
Expand Down Expand Up @@ -148,7 +149,7 @@ void draw_cells(const jcv_diagram* diagram)
}
}

void draw_cells(const jcv_diagram* diagram)
void draw_delauney(const jcv_diagram* diagram)
{
jcv_delauney_iter delauney = jcv_delauney_begin( &diagram );
jcv_delauney_edge delauney_edge;
Expand Down

0 comments on commit 5239159

Please sign in to comment.