source-engine/game/shared/portal/stick_partner.cpp
tupoy-ya e4f6f07185
chore(Paint): Added paint files that don't work.
refatcor(env_portal_laser): More source accurate lasers, doesn't work now.
2023-09-23 16:15:28 +05:00

26 lines
663 B
C++

//========= Copyright 1996-2009, Valve Corporation, All rights reserved. ============//
//
// Purpose: Implements the stick partner struct props use to keep track of
// stick constraints.
//
//=============================================================================//
#include "cbase.h"
#include "stick_partner.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
StickPartner_t::StickPartner_t()
: m_pConstraint( NULL ),
m_nLastContactCount( 0 )
{}
StickPartner_t::StickPartner_t( const StickPartner_t& rhs )
: m_other( rhs.m_other ),
m_pConstraint( rhs.m_pConstraint )
{
m_contacts = rhs.m_contacts;
}