]> git.mxchange.org Git - flightgear.git/blob - Scenery/obj.h
030033c6206d910678711e966adec3a8922802f7
[flightgear.git] / Scenery / obj.h
1 /**************************************************************************
2  * obj.h -- routines to handle WaveFront .obj format files.
3  *
4  * Written by Curtis Olson, started October 1997.
5  *
6  * Copyright (C) 1997  Curtis L. Olson  - curt@infoplane.com
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License as
10  * published by the Free Software Foundation; either version 2 of the
11  * License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  *
22  * $Id$
23  * (Log is kept at end of this file)
24  **************************************************************************/
25
26
27 #ifndef _OBJ_H
28 #define _OBJ_H
29
30
31 #include <config.h>
32
33 #ifdef HAVE_WINDOWS_H
34 #  include <windows.h>
35 #endif
36
37 #include <GL/glut.h>
38
39 #include <Include/fg_types.h>
40
41
42 /* Load a .obj file and generate the GL call list */
43 GLint fgObjLoad(char *path, struct fgCartesianPoint *ref, double *radius);
44
45
46 #endif /* _OBJ_H */
47
48
49 /* $Log$
50 /* Revision 1.7  1998/04/03 22:11:37  curt
51 /* Converting to Gnu autoconf system.
52 /*
53  * Revision 1.6  1998/01/31 00:43:25  curt
54  * Added MetroWorks patches from Carmen Volpe.
55  *
56  * Revision 1.5  1998/01/27 00:48:03  curt
57  * Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
58  * system and commandline/config file processing code.
59  *
60  * Revision 1.4  1998/01/22 02:59:41  curt
61  * Changed #ifdef FILE_H to #ifdef _FILE_H
62  *
63  * Revision 1.3  1998/01/19 19:27:17  curt
64  * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
65  * This should simplify things tremendously.
66  *
67  * Revision 1.2  1998/01/13 00:23:10  curt
68  * Initial changes to support loading and management of scenery tiles.  Note,
69  * there's still a fair amount of work left to be done.
70  *
71  * Revision 1.1  1997/10/28 21:14:55  curt
72  * Initial revision.
73  *
74  */