Line | |
---|
1 | /*! |
---|
2 | * @file md3_bone_frame.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_ANIMATION_H |
---|
9 | #define _MD3_ANIMATION_H |
---|
10 | |
---|
11 | #include "vector.h" |
---|
12 | |
---|
13 | #include <string> |
---|
14 | |
---|
15 | |
---|
16 | class MD3Tag; |
---|
17 | |
---|
18 | |
---|
19 | class MD3BoneFrame |
---|
20 | { |
---|
21 | public: |
---|
22 | /** create a MD3BoneFrame object with the data coming from the specified input stream */ |
---|
23 | MD3BoneFrame(int tagNum /*, DataInput din*/) { /* loadBoneFrame(this, din) */ } |
---|
24 | MD3BoneFrame(/*int tagNum*/) { /* this->tags = new MD3Tag[tagNum] */ } |
---|
25 | virtual ~MD3BoneFrame(); |
---|
26 | |
---|
27 | |
---|
28 | private: |
---|
29 | Vector mins; //!< lower extrema of the bounding box of this bone anumation frame |
---|
30 | Vector maxs; //!< upper extrema of the bounding box of this bone anumation frame |
---|
31 | Vector position; //!< coordinate origin within the bounding box |
---|
32 | |
---|
33 | std::string cratorName; //!< the name of the creator |
---|
34 | float scale; //!< scale of the box |
---|
35 | |
---|
36 | MD3Tag* tags; //!< arrays of tags size |
---|
37 | |
---|
38 | |
---|
39 | }; |
---|
40 | |
---|
41 | |
---|
42 | #endif /* _MD3_ANIMATION_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.