cstrike15_src/game/shared/portal/stick_partner.h
2025-06-04 03:22:50 +02:00

22 lines
717 B
C

//========= Copyright © 1996-2009, Valve Corporation, All rights reserved. ============//
//
// Purpose: Declares the stick partner struct props use to keep track of
// stick constraints.
//
//=============================================================================//
#ifndef STICK_PARTNER_H
#define STICK_PARTNER_H
struct StickPartner_t
{
StickPartner_t();
StickPartner_t( const StickPartner_t& );
CBaseHandle m_other;
CUtlVector< Vector > m_contacts; // Where we are touching the other entity
IPhysicsConstraint* m_pConstraint; // The constraint holding this object to the other object
int m_nLastContactCount; // Number of contacts we had last time we checked
};
#endif // ifndef STICK_PARTNER_H