1 /* 2 3 Copyright (C) 1991-2001 and beyond by Bungie Studios, Inc. 4 and the "Aleph One" developers. 5 6 This program is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 3 of the License, or 9 (at your option) any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 This license is contained in the file "COPYING", 17 which is included with this source code; it is available online at 18 http://www.gnu.org/licenses/gpl.html 19 20 Alias|Wavefront Object Loader 21 22 By Loren Petrich, June 16, 2001 23 */ 24 #ifndef WAVEFRONT_LOADER 25 #define WAVEFRONT_LOADER 26 27 #include <stdio.h> 28 #include "Model3D.h" 29 #include "FileHandler.h" 30 31 // Load a Wavefront model, without converting its coordinate system. 32 bool LoadModel_Wavefront(FileSpecifier& Spec, Model3D& Model); 33 34 // Load a Wavefront model and convert its vertex and texture coordinates from 35 // OBJ's right-handed coordinate system to Aleph One's left-handed system. 36 bool LoadModel_Wavefront_RightHand(FileSpecifier& Spec, Model3D& Model); 37 38 #endif 39