Changeset 4279 in orxonox.OLD for orxonox/trunk/src/lib/graphics
- Timestamp:
- May 24, 2005, 11:33:33 AM (19 years ago)
- Location:
- orxonox/trunk/src/lib/graphics/importer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/anorms.h
r4245 r4279 16 16 along with this program; if notf, write to the Free Software 17 17 Foundationf, Inc.f, 59 Temple Place - Suite 330f, Bostonf, MA 02111-1307f, USA. 18 */ 18 19 19 */20 20 {-0.525731f, 0.000000f, 0.850651f}, 21 21 {-0.442863f, 0.238856f, 0.864188f}, -
orxonox/trunk/src/lib/graphics/importer/md2Model.cc
r4277 r4279 54 54 { 95, 111, 10 }, // FALLBACK 55 55 { 112, 122, 7 }, // WAVE 56 { 123, 134, 6 }, // POINT 56 { 123, 134, 6 }, // POINTT 57 57 { 135, 153, 10 }, // CROUCH_STAND 58 58 { 154, 159, 7 }, // CROUCH_WALK … … 111 111 return false; 112 112 } 113 this->header = new tMd2Header;114 fread(this->header, 1, sizeof( tMd2Header), pFile);113 this->header = new MD2Header; 114 fread(this->header, 1, sizeof(MD2Header), pFile); 115 115 /* check for the header version: make sure its a md2 file :) */ 116 116 if( unlikely(this->header->version != MD2_VERSION) && unlikely(this->header->ident != MD2_IDENT)) -
orxonox/trunk/src/lib/graphics/importer/md2Model.h
r4278 r4279 41 41 42 42 //! This holds the header information that is read in at the beginning of the file: id software definition 43 struct tMd2Header43 struct MD2Header 44 44 { 45 45 int ident; //!< This is used to identify the file … … 80 80 FALLBACK, 81 81 WAVE, 82 POINT ,82 POINTT, 83 83 CROUCH_STAND, 84 84 CROUCH_WALK, … … 117 117 char* fileName; 118 118 char* skinFileName; 119 tMd2Header* header;119 MD2Header* header; 120 120 121 121 sVec3D* pVertices; … … 171 171 char* fileName; 172 172 char* skinFileName; 173 tMd2Header* header;173 MD2Header* header; 174 174 175 175 sVec3D* pVertices;
Note: See TracChangeset
for help on using the changeset viewer.