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

20 lines
573 B
C++

//
// Generated by dtk
// Translation Unit: c_m3d_g_pla.cpp
//
#include "SSystem/SComponent/c_m3d_g_pla.h"
#include "SSystem/SComponent/c_m3d.h"
/* 80252304-80252324 .text CalcAngleXz__8cM3dGPlaCFPsPs */
void cM3dGPla::CalcAngleXz(short* pAngleX, short* pAngleY) const {
cM3d_CalcVecAngle(mNormal, pAngleX, pAngleY);
}
/* 80252324-8025238C .text SetupNP0__8cM3dGPlaFRC3VecRC3Vec */
void cM3dGPla::SetupNP0(const Vec& pNormal, const Vec& pPoint) {
mNormal = pNormal;
VECNormalize(&mNormal, &mNormal);
mD = -VECDotProduct(&mNormal, &pPoint);
}