Changeset 2823 in orxonox.OLD for orxonox/trunk/importer
- Timestamp:
- Nov 12, 2004, 2:07:35 AM (20 years ago)
- Location:
- orxonox/trunk/importer
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/importer/array.cc
r2812 r2823 1 /* 2 orxonox - the future of 3D-vertical-scrollers 3 4 Copyright (C) 2004 orx 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 2, or (at your option) 9 any later version. 10 11 ### File Specific: 12 main-programmer: Benjamin Grauer 13 co-programmer: ... 14 */ 15 1 16 #include "array.h" 2 17 -
orxonox/trunk/importer/array.h
r2812 r2823 6 6 #include <GL/gl.h> 7 7 #include <GL/glu.h> 8 #include <fstream .h>8 #include <fstream> 9 9 class Array 10 10 { -
orxonox/trunk/importer/material.cc
r2804 r2823 1 /* 2 orxonox - the future of 3D-vertical-scrollers 3 4 Copyright (C) 2004 orx 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 2, or (at your option) 9 any later version. 10 11 ### File Specific: 12 main-programmer: Benjamin Grauer 13 co-programmer: ... 14 */ 15 1 16 #include "material.h" 2 17 -
orxonox/trunk/importer/material.h
r2804 r2823 7 7 #include <GL/glu.h> 8 8 #include <stdlib.h> 9 #include <fstream .h>9 #include <fstream> 10 10 11 11 class Material -
orxonox/trunk/importer/object.cc
r2821 r2823 1 /* 2 orxonox - the future of 3D-vertical-scrollers 3 4 Copyright (C) 2004 orx 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 2, or (at your option) 9 any later version. 10 11 ### File Specific: 12 main-programmer: Benjamin Grauer 13 co-programmer: ... 14 */ 15 1 16 #include "object.h" 2 17 … … 71 86 bool Object::readFromObjFile (char* fileName) 72 87 { 73 OBJ_FILE = new ifstream 88 OBJ_FILE = new ifstream(fileName); 74 89 if (!OBJ_FILE->is_open()) 75 90 { -
orxonox/trunk/importer/object.h
r2821 r2823 1 /*! 2 \file object.h 3 \brief Contains the Object Class that handles 3D-Objects 4 */ 5 1 6 #ifndef _OBJECT_H 2 7 #define _OBJECT_H … … 7 12 #include "array.h" 8 13 #include "material.h" 9 #include <fstream .h>14 #include <fstream> 10 15 16 using namespace std; 11 17 extern int verbose; 12 18 19 //! Class that handles 3D-Objects. it can also read them in and display them. 13 20 class Object 14 21 {
Note: See TracChangeset
for help on using the changeset viewer.