Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/bsp_model/src/lib/graphics/importer/md3/md3_tag.h @ 8374

Last change on this file since 8374 was 8372, checked in by patrick, 18 years ago

bsp: started loading md3 mesh data, the last of the data structures

File size: 833 bytes
Line 
1/*!
2 * @file md3_mesh.h
3 *
4 * Code heavely inspired by: JAVA MD3 Model Viewer - A Java based Quake 3 model viewer
5 * Copyright (C) 1999 Erwin 'KLR8' Vervaet
6 */
7
8#ifndef _MD3_TAG_H
9#define _MD3_TAG_H
10
11#include <string>
12
13#include "vector.h"
14
15namespace md3
16{
17
18typedef struct MD3TagData
19{
20  sVec3D     position;
21  float      matrix[3][3];
22};
23
24
25class MD3Tag
26{
27  public:
28    MD3Tag();
29    virtual ~MD3Tag();
30
31
32  public:
33    std::string               name;                   //!< name of tag as its usualy called in the md3 file
34    Vector                    position;               //!< the position of the tag reltive to the models containing that tag
35    float                     matrix[3][3];           //!< 3x3 rotation matrix
36
37    MD3TagData*               data;                   //!< data reference
38};
39
40}
41
42#endif /* _MD3_TAG_H */
Note: See TracBrowser for help on using the repository browser.