forked from 0ad/0ad
31 lines
774 B
C++
Executable File
31 lines
774 B
C++
Executable File
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// 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
|