0d837abf607e0d16fe8a90cb6b143e715eac0bbc
[familia.git] / src / graphics / individual.c
1 /****************************************************************************
2  *  Familia Lignum - Genealogical program                                   *
3  *  Copyright (C) 2011-2012 Rafał Długołęcki <rafal@dlugolecki.net.pl>      *
4  *                                                                          *
5  *  This program is free software; you can redistribute it and/or modify    *
6  *  it under the terms of the GNU General Public License as published by    *
7  *  the Free Software Foundation; version 2 of the License.                 *
8  *                                                                          *
9  *  This program is distributed in the hope that it will be useful,         *
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of          *
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           *
12  *  GNU General Public License for more details.                            *
13  *                                                                          *
14  *  You should have received a copy of the GNU General Public License along *
15  *  with this program; if not, write to the Free Software Foundation, Inc., *
16  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.             *
17  *                                                                          *
18  ****************************************************************************/
19
20 #ifndef _FAMILIA_GRAPHICS_INDIVIDUAL_H
21 #define _FAMILIA_GRAPHICS_INDIVIDUAL_H
22
23 #include <GL/gl.h>
24 #include <GL/glu.h>
25
26 #include "individual.h"
27
28 void graphics_render_individual() {
29         GLUquadric* quad = NULL;
30         quad = gluNewQuadric();
31         gluQuadricDrawStyle(quad, GLU_LINE);
32
33         if (quad) {
34                 gluSphere(quad, 1, 10, 10);
35                 gluDeleteQuadric(quad);
36                 quad = NULL;
37         }
38 }
39
40 #endif /* _FAMILIA_GRAPHICS_INDIVIDUAL_H */