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.

20 lines
537 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. // A set of collision rules
  9. // NOTE: Defaults to all indices disabled
  10. class IPhysicsCollisionSet
  11. {
  12. public:
  13. ~IPhysicsCollisionSet() {}
  14. virtual void EnableCollisions( int index0, int index1 ) = 0;
  15. virtual void DisableCollisions( int index0, int index1 ) = 0;
  16. virtual bool ShouldCollide( int index0, int index1 ) = 0;
  17. };