From a9a6f9216476863206d82faf2e24861185b1cf5f Mon Sep 17 00:00:00 2001 From: hasufell Date: Fri, 9 May 2014 15:03:46 +0200 Subject: [PATCH] Add doxygen comment for draw_vertices() --- gl_draw.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gl_draw.c b/gl_draw.c index dbcf274..bcf8baa 100644 --- a/gl_draw.c +++ b/gl_draw.c @@ -53,6 +53,12 @@ static void draw_Planet_1(void); static void draw_Planet_2(void); static void gl_destroy(void); +/** + * Call glVertex3f on all of the vertices of the object, + * in appropriate order. + * + * @param obj the object of which we will draw the vertices + */ static void draw_vertices(HE_obj *obj) { for (uint32_t i = 0; i < obj->fc; i++) { /* for all faces */