blob: a9a9eade76ec7c49804f80dc7a3680aaa1a217c8 (
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
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Dme version of a hitbox
//
//===========================================================================//
#ifndef DMEHITBOX_H
#define DMEHITBOX_H
#ifdef _WIN32
#pragma once
#endif
#include "movieobjects/dmeshape.h"
//-----------------------------------------------------------------------------
// Forward Declarations
//-----------------------------------------------------------------------------
class CDmeDrawSettings;
struct matrix3x4_t;
//-----------------------------------------------------------------------------
// A class representing an attachment point
//-----------------------------------------------------------------------------
class CDmeHitbox : public CDmeShape
{
DEFINE_ELEMENT( CDmeHitbox, CDmeShape );
public:
virtual void Draw( const matrix3x4_t &shapeToWorld, CDmeDrawSettings *pDrawSettings = NULL );
CDmaString m_SurfaceProperty;
CDmaString m_Group;
CDmaString m_Bone;
CDmaVar< Vector > m_vecMins;
CDmaVar< Vector > m_vecMaxs;
CDmaColor m_RenderColor; // used for visualization
private:
};
#endif // DMEHITBOX_H
|