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.

21 lines
738 B

  1. //========= Copyright � 1996-2009, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Declares the stick partner struct props use to keep track of
  4. // stick constraints.
  5. //
  6. //=============================================================================//
  7. #ifndef STICK_PARTNER_H
  8. #define STICK_PARTNER_H
  9. struct StickPartner_t
  10. {
  11. StickPartner_t();
  12. StickPartner_t( const StickPartner_t& );
  13. CBaseHandle m_other;
  14. CUtlVector< Vector > m_contacts; // Where we are touching the other entity
  15. IPhysicsConstraint* m_pConstraint; // The constraint holding this object to the other object
  16. int m_nLastContactCount; // Number of contacts we had last time we checked
  17. };
  18. #endif // ifndef STICK_PARTNER_H