/*! * @file md3_mesh.h * * Code heavely inspired by: JAVA MD3 Model Viewer - A Java based Quake 3 model viewer * Copyright (C) 1999 Erwin 'KLR8' Vervaet */ #ifndef _MD3_TAG_H #define _MD3_TAG_H #include #include "vector.h" namespace md3 { typedef struct MD3TagData { char name[64]; //!< name of the tag sVec3D position; //!< position of the tag float matrix[3][3]; //!< matrix of the rotation }; class MD3Tag { public: MD3Tag(); virtual ~MD3Tag(); public: std::string name; //!< name of tag as its usualy called in the md3 file Vector position; //!< the position of the tag reltive to the models containing that tag float matrix[3][3]; //!< 3x3 rotation matrix MD3TagData* data; //!< data reference }; } #endif /* _MD3_TAG_H */