Files
tww/src/SSystem/SComponent/c_m3d_g_tri.cpp
T
Luke Street adb95b135c Import project
Original repository: https://github.com/encounter/ww
2023-09-10 00:48:55 -04:00

22 lines
591 B
C++

//
// Generated by dtk
// Translation Unit: c_m3d_g_tri.cpp
//
#include "SSystem/SComponent/c_m3d_g_tri.h"
#include "SSystem/SComponent/c_m3d.h"
#include "dolphin/types.h"
/* 802527D4-80252878 .text __ct__8cM3dGTriFPC3VecPC3VecPC3Vec */
cM3dGTri::cM3dGTri(const Vec* pA, const Vec* pB, const Vec* pC) {
mA = *pA;
mB = *pB;
mC = *pC;
cM3d_CalcPla(&mA, &mB, &mC, &mNormal, &mD);
}
/* 80252878-802528A4 .text cross__8cM3dGTriCFPC8cM3dGCylP3Vec */
bool cM3dGTri::cross(const cM3dGCyl* pOther, Vec* pOut) const {
return cM3d_Cross_CylTri(pOther, this, pOut);
}