1
0
forked from 0ad/0ad
0ad/source/tools/pmdexp/ExpProp.h
Ykkrosh 79b92f8a16 Renaming new PMDExp
This was SVN commit r2388.
2005-06-14 20:42:41 +00:00

38 lines
742 B
C++

#ifndef _EXPPROP_H
#define _EXPPROP_H
#include <string>
#include "Vector3D.h"
#include "Quaternion.h"
////////////////////////////////////////////////////////////////////////
// ExpProp: prop object used on export
class ExpProp
{
public:
// name of prop
std::string m_Name;
// position relative to parent
CVector3D m_Position;
// rotation relative to parent
CQuaternion m_Rotation;
// parent node
INode* m_Parent;
};
////////////////////////////////////////////////////////////////////////
// PMDExpProp: class used for building output props
class PMDExpProp
{
public:
PMDExpProp(INode* node);
static bool IsProp(Object* obj);
ExpProp* Build();
private:
// the node we're constructing the prop from
INode* m_Node;
};
#endif