Added missing files.
[familia.git] / src / graphics / individual.c
diff --git a/src/graphics/individual.c b/src/graphics/individual.c
new file mode 100644 (file)
index 0000000..0d837ab
--- /dev/null
@@ -0,0 +1,40 @@
+/****************************************************************************
+ *  Familia Lignum - Genealogical program                                   *
+ *  Copyright (C) 2011-2012 Rafał Długołęcki <rafal@dlugolecki.net.pl>      *
+ *                                                                          *
+ *  This program is free software; you can redistribute it and/or modify    *
+ *  it under the terms of the GNU General Public License as published by    *
+ *  the Free Software Foundation; version 2 of the License.                 *
+ *                                                                          *
+ *  This program is distributed in the hope that it will be useful,         *
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of          *
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           *
+ *  GNU General Public License for more details.                            *
+ *                                                                          *
+ *  You should have received a copy of the GNU General Public License along *
+ *  with this program; if not, write to the Free Software Foundation, Inc., *
+ *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.             *
+ *                                                                          *
+ ****************************************************************************/
+
+#ifndef _FAMILIA_GRAPHICS_INDIVIDUAL_H
+#define _FAMILIA_GRAPHICS_INDIVIDUAL_H
+
+#include <GL/gl.h>
+#include <GL/glu.h>
+
+#include "individual.h"
+
+void graphics_render_individual() {
+       GLUquadric* quad = NULL;
+       quad = gluNewQuadric();
+       gluQuadricDrawStyle(quad, GLU_LINE);
+
+       if (quad) {
+               gluSphere(quad, 1, 10, 10);
+               gluDeleteQuadric(quad);
+               quad = NULL;
+       }
+}
+
+#endif /* _FAMILIA_GRAPHICS_INDIVIDUAL_H */