blob: 26a15175460120b56d39e68f68c5ad80ea933d26 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Snapshot of
//
//===========================================================================//
#ifndef DMETRANSFORMLIST_H
#define DMETRANSFORMLIST_H
#ifdef _WIN32
#pragma once
#endif
#include "movieobjects/dmedag.h"
//-----------------------------------------------------------------------------
// A class representing a skeletal model
//-----------------------------------------------------------------------------
class CDmeTransformList : public CDmElement
{
DEFINE_ELEMENT( CDmeTransformList, CDmElement );
public:
int GetTransformCount() const;
CDmeTransform *GetTransform( int nIndex );
void SetTransform( int nIndex, const matrix3x4_t& mat );
CDmaElementArray<CDmeTransform> m_Transforms;
};
//-----------------------------------------------------------------------------
// Inline methods
//-----------------------------------------------------------------------------
inline int CDmeTransformList::GetTransformCount() const
{
return m_Transforms.Count();
}
inline CDmeTransform *CDmeTransformList::GetTransform( int nIndex )
{
return m_Transforms[nIndex];
}
#endif // DMETRANSFORMLIST_H
|