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.

25 lines
690 B

  1. //========= Copyright � 1996-2009, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Implements the stick partner struct props use to keep track of
  4. // stick constraints.
  5. //
  6. //=============================================================================//
  7. #include "cbase.h"
  8. #include "stick_partner.h"
  9. // memdbgon must be the last include file in a .cpp file!!!
  10. #include "tier0/memdbgon.h"
  11. StickPartner_t::StickPartner_t()
  12. : m_pConstraint( NULL ),
  13. m_nLastContactCount( 0 )
  14. {}
  15. StickPartner_t::StickPartner_t( const StickPartner_t& rhs )
  16. : m_other( rhs.m_other ),
  17. m_pConstraint( rhs.m_pConstraint )
  18. {
  19. m_contacts = rhs.m_contacts;
  20. }