void CBeam::HoseInit( const Vector &start, const Vector &direction ) { SetType( BEAM_HOSE ); SetStartPos( start ); SetEndPos( direction ); SetStartAttachment( 0 ); SetEndAttachment( 0 ); RelinkBeam(); }
void CBeam::EntsInit( int startIndex, int endIndex ) { SetType( BEAM_ENTS ); SetStartEntity( startIndex ); SetEndEntity( endIndex ); SetStartAttachment( 0 ); SetEndAttachment( 0 ); RelinkBeam(); }
void CBeam::PointEntInit( const Vector &start, int endIndex ) { SetType( BEAM_ENTPOINT ); SetStartPos( start ); SetEndEntity( endIndex ); SetStartAttachment( 0 ); SetEndAttachment( 0 ); RelinkBeam(); }
void CBeam::PointsInit( const Vector &start, const Vector &end ) { SetType( BEAM_POINTS ); SetStartPos( start ); SetEndPos( end ); SetStartAttachment( 0 ); SetEndAttachment( 0 ); RelinkBeam(); }
void CBeam::LaserInit( CBaseEntity *pStartEntity, CBaseEntity *pEndEntity ) { SetType( BEAM_LASER ); m_nNumBeamEnts = 2; SetStartEntity( pStartEntity ); SetEndEntity( pEndEntity ); SetStartAttachment( 0 ); SetEndAttachment( 0 ); RelinkBeam(); }
void CBeam::PointEntInit( const Vector &start, CBaseEntity *pEndEntity ) { SetType( BEAM_ENTPOINT ); m_nNumBeamEnts = 2; SetStartPos( start ); SetEndEntity( pEndEntity ); SetStartAttachment( 0 ); SetEndAttachment( 0 ); RelinkBeam(); }
void CE_CBeam::EntsInit( CEntity *pStartEntity, CEntity *pEndEntity ) { SetType( BEAM_ENTS ); m_nNumBeamEnts = 2; SetStartEntity( pStartEntity ); SetEndEntity( pEndEntity ); SetStartAttachment( 0 ); SetEndAttachment( 0 ); RelinkBeam(); }