1
0
forked from 0ad/0ad
0ad/source/graphics/SkeletonAnim.h

31 lines
774 B
C
Raw Normal View History

///////////////////////////////////////////////////////////////////////////////
//
// Name: SkeletonAnim.h
// Author: Rich Cross
// Contact: rich@wildfiregames.com
//
///////////////////////////////////////////////////////////////////////////////
#ifndef _SKELETONANIM_H
#define _SKELETONANIM_H
#include "Bound.h"
class CSkeletonAnimDef;
////////////////////////////////////////////////////////////////////////////////////////
// CSkeletonAnim: an instance of a CSkeletonAnimDef, for application onto a model
class CSkeletonAnim
{
public:
// the raw animation frame data
CSkeletonAnimDef* m_AnimDef;
// speed at which this animation runs
float m_Speed;
// object space bounds of the model when this animation is applied to it
CBound m_ObjectBounds;
};
#endif