d_a_npc_md work

This commit is contained in:
LagoLunatic
2023-12-20 15:42:07 -05:00
parent 5b28f38b01
commit bc42db3897
9 changed files with 175 additions and 31 deletions
+4 -1
View File
@@ -110,7 +110,7 @@ public:
cM3dGAab const& GetWorkAab() const { return mAab; }
static cXyz m_virtual_center;
};
}; // Size: 0x20
STATIC_ASSERT(0x20 == sizeof(cCcD_ShapeAttr));
@@ -155,6 +155,9 @@ struct cCcD_SrcCpsAttr {
class cCcD_CpsAttr : public cCcD_ShapeAttr, public cM3dGCps {
public:
/* 0x00 */ /* cCcD_ShapeAttr */
/* 0x20 */ /* cM3dGCps */
cCcD_CpsAttr() {}
void Set(const cCcD_SrcCpsAttr& pSrc) {
cM3dGCps::Set(pSrc.mCps);
+3
View File
@@ -24,6 +24,9 @@ public:
cM3dGTri(const Vec *pA, const Vec *pB, const Vec *pC);
bool cross(const cM3dGCyl* cyl, Vec* out) const;
bool cross(const cM3dGLin* line, Vec* vec, bool param_3, bool param_4) const {
return cM3d_Cross_LinTri(line, this, vec, param_3, param_4);
}
bool Cross(const cM3dGCps& cps, Vec* out) const { return cM3d_Cross_CpsTri(cps, *this, out); }
bool Cross(const cM3dGCyl& cyl, Vec* out) const { return cross(&cyl, out); }