source-engine-2018-hl2_src/public/vphysics/collision_set.h
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

20 lines
523 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
// A set of collision rules
// NOTE: Defaults to all indices disabled
class IPhysicsCollisionSet
{
public:
~IPhysicsCollisionSet() {}
virtual void EnableCollisions( int index0, int index1 ) = 0;
virtual void DisableCollisions( int index0, int index1 ) = 0;
virtual bool ShouldCollide( int index0, int index1 ) = 0;
};