summaryrefslogtreecommitdiff
path: root/mdlobjects/dmelod.cpp
blob: e7c1c4ea792f0f43f2d706ca526919ed3afb4a7f (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Dme version of a hitbox
//
//===========================================================================//

#include "mdlobjects/dmelod.h"
#include "datamodel/dmelementfactoryhelper.h"
#include "movieobjects/dmemodel.h"
#include "movieobjects/dmedag.h"
#include "movieobjects/dmecombinationoperator.h"

// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"


//-----------------------------------------------------------------------------
// Expose this class to the scene database 
//-----------------------------------------------------------------------------
IMPLEMENT_ELEMENT_FACTORY( DmeLOD, CDmeLOD );


//-----------------------------------------------------------------------------
// Purpose: 
//-----------------------------------------------------------------------------
void CDmeLOD::OnConstruction()
{
	m_Model.Init( this, "model" );
	m_Skeleton.Init( this, "skeleton" );
	m_CombinationOperator.Init( this, "combinationOperator" );
	m_flSwitchMetric.Init( this, "switchMetric" );
	m_bNoFlex.Init( this, "noFlex" );
	m_bIsShadowLOD.Init( this, "isShadowLOD" );
}

void CDmeLOD::OnDestruction()
{
}