blob: 157b787b86f076a30487e07d7e259da1fbe2b184 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//
// 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);
}
|