mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 10:52:59 +00:00
Actually remove trailing whitespace for non-header files as well.
This was SVN commit r18989.
This commit is contained in:
@@ -34,13 +34,13 @@ CSkeletonAnimDef::CSkeletonAnimDef() : m_FrameTime(0), m_NumKeys(0), m_NumFrames
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
// CSkeletonAnimDef destructor
|
||||
CSkeletonAnimDef::~CSkeletonAnimDef()
|
||||
CSkeletonAnimDef::~CSkeletonAnimDef()
|
||||
{
|
||||
delete[] m_Keys;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
// BuildBoneMatrices: build matrices for all bones at the given time (in MS) in this
|
||||
// BuildBoneMatrices: build matrices for all bones at the given time (in MS) in this
|
||||
// animation
|
||||
void CSkeletonAnimDef::BuildBoneMatrices(float time, CMatrix3D* matrices, bool loop) const
|
||||
{
|
||||
@@ -48,10 +48,10 @@ void CSkeletonAnimDef::BuildBoneMatrices(float time, CMatrix3D* matrices, bool l
|
||||
size_t startframe = (size_t)(int)(time/m_FrameTime);
|
||||
float deltatime = fstartframe-startframe;
|
||||
|
||||
startframe %= m_NumFrames;
|
||||
startframe %= m_NumFrames;
|
||||
|
||||
size_t endframe = startframe + 1;
|
||||
endframe %= m_NumFrames;
|
||||
endframe %= m_NumFrames;
|
||||
|
||||
if (!loop && endframe == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user