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 | |
---|
15 | class MD3Tag |
---|
16 | { |
---|
17 | public: |
---|
18 | MD3Tag() { /* loadMesh(this, din) */ } |
---|
19 | virtual ~MD3Tag(); |
---|
20 | |
---|
21 | |
---|
22 | private: |
---|
23 | std::string name; //!< name of tag as its usualy called in the md3 file |
---|
24 | Vector position; //!< the position of the tag reltive to the models containing that tag |
---|
25 | float matrix[3][3]; //!< 3x3 rotation matrix |
---|
26 | |
---|
27 | }; |
---|
28 | |
---|
29 | |
---|
30 | #endif /* _MD3_TAG_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.