//
// Generated by dtk
// Translation Unit: c_bg_s_lin_chk.cpp
//

#include "SSystem/SComponent/c_bg_s_lin_chk.h"
#include "dolphin/types.h"

/* 80247418-80247480       .text ct__11cBgS_LinChkFv */
void cBgS_LinChk::ct() {
    cXyz zero = cXyz::Zero;
    mLin.mStart = zero;
    mLin.mEnd = zero;
    field_0x40 = zero;
    SetActorPid(-1);
    field_0x4c = 0;
    mFrontFlag = 1;
    mBackFlag = 0;
}

/* 80247480-80247500       .text Set2__11cBgS_LinChkFP4cXyzP4cXyzUi */
void cBgS_LinChk::Set2(cXyz* pStart, cXyz* pEnd, unsigned int actorPid) {
    mLin.mStart.set(*pStart);
    mLin.mEnd.set(*pEnd);
    field_0x40 = *pEnd;
    SetActorPid(actorPid);
    field_0x4c &= ~0x10;
    ClearPi();
}
