| 1 | // Copyright (C) 2006 Erik Dahlberg |
| 2 | // |
| 3 | // This file is part of LSystem3d. |
| 4 | // |
| 5 | // LSystem3D is free software; you can redistribute it and/or |
| 6 | // modify it under the terms of the GNU General Public License |
| 7 | // as published by the Free Software Foundation; either version 2 |
| 8 | // of the License, or (at your option) any later version. |
| 9 | // |
| 10 | // LSystem3D is distributed in the hope that it will be useful, |
| 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | // GNU General Public License for more details. |
| 14 | // |
| 15 | // You should have received a copy of the GNU General Public License |
| 16 | // along with LSystem3D; if not, write to the Free Software |
| 17 | // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | #ifdef HAVE_CONFIG_H |
| 23 | #include <config.h> |
| 24 | #endif |
| 25 | |
| 26 | #include <cstdlib> |
| 27 | |
| 28 | #include <GL/freeglut.h> |
| 29 | |
| 30 | #include "openglwindow.h" |
| 31 | |
| 32 | |
| 33 | OpenGLWindow *openglWindow = NULL; |
| 34 | |
| 35 | |
| 36 | |
| 37 | int main(int argc, char *argv[]) |
| 38 | { |
| 39 | glutInit(&argc, argv); |
| 40 | |
| 41 | OpenGLWindow window; |
| 42 | |
| 43 | |
| 44 | return EXIT_SUCCESS; |
| 45 | } |