X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=src%2Fgraphics%2Findividual.c;fp=src%2Fgraphics%2Findividual.c;h=0d837abf607e0d16fe8a90cb6b143e715eac0bbc;hb=b8f4a75ae37736a5c39b0319d3b05ad4d72e09f3;hp=0000000000000000000000000000000000000000;hpb=f1abdf57b72348c13302e143753ef0da0d51eba5;p=familia.git diff --git a/src/graphics/individual.c b/src/graphics/individual.c new file mode 100644 index 0000000..0d837ab --- /dev/null +++ b/src/graphics/individual.c @@ -0,0 +1,40 @@ +/**************************************************************************** + * Familia Lignum - Genealogical program * + * Copyright (C) 2011-2012 Rafał Długołęcki * + * * + * 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 +#include + +#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 */