-
Notifications
You must be signed in to change notification settings - Fork 0
/
3dsloader.h
executable file
·39 lines (32 loc) · 1.02 KB
/
3dsloader.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* ---------------- www.spacesimulator.net --------------
* ---- Space simulators and 3d engine tutorials ----
*
* Author: Damiano Vitulli
*
* This program is released under the BSD licence
* By using this program you agree to licence terms on spacesimulator.net copyright page
*
*
* Tutorial 4: 3d engine - 3ds models loader
*
* File header: 3dsloader.h
*
*/
/*
Linux port by Panteleakis Ioannis
mail: pioann@csd.auth.gr
just run: make and you are done.
of course you may need to change the makefile
*/
/**********************************************************
*
* FUNCTION Load3DS (obj_type_ptr, char *)
*
* This function loads a mesh from a 3ds file.
* Please note that we are loading only the vertices, polygons and mapping lists.
* If you need to load meshes with advanced features as for example:
* multi objects, materials, lights and so on, you must insert other chunk parsers.
*
*********************************************************/
extern char Load3DS (obj_type_ptr ogg, char *filename);