mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-04 01:03:00 -04:00
adb95b135c
Original repository: https://github.com/encounter/ww
20 lines
573 B
C++
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);
|
|
}
|