Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
1020 B

//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//===========================================================================//
#ifndef COLLISIONMODEL_H
#define COLLISIONMODEL_H
#ifdef _WIN32
#pragma once
#endif
class CDmElement;
struct s_source_t;
void Cmd_CollisionText( void );
int DoCollisionModel( bool separateJoints );
#ifdef MDLCOMPILE
int DoCollisionModel( s_source_t *pSource, CDmElement *pInfo, bool bStaticProp );
void LoadCollisionText( const char *pszCollisionText );
#endif MDLCOMPILE
// execute after simplification, before writing
void CollisionModel_Build( void );
// execute during writing
extern void CollisionModel_Write( long checkSum );
extern void CollisionModel_SetName( const char *pName );
void CollisionModel_ExpandBBox( Vector &mins, Vector &maxs );
#endif // COLLISIONMODEL_H