Files
tp/include/SComponent/c_m3d_g_tri.h
T
lepelog 1e105b87f1 some c_m3d (#97)
* decompiled some bgs_chk funcs

* c_m3d_g

* c_math progress

* remove duplicate SComponent headers

* move some variables and decompile a function

* some inlined from debug

* cM3d_2PlaneLinePosNearPos

* fix fabsf and decompile cM3d_CrawVec

* format

* cleanup

* more cleanup

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-26 17:48:47 -05:00

23 lines
511 B
C++

#ifndef C_M3D_G_TRI_H_
#define C_M3D_G_TRI_H_
#include "SComponent/c_m3d_g_cyl.h"
#include "SComponent/c_m3d_g_pla.h"
#include "SComponent/c_xyz.h"
#include "global.h"
class cM3dGTri {
// private:
public:
cM3dGPla mPlane;
cXyz mA;
cXyz mB;
cXyz mC;
bool cross(const cM3dGCyl*, Vec*) const;
void setPos(const Vec*, const Vec*, const Vec*);
void setBg(const Vec*, const Vec*, const Vec*, const cM3dGPla*);
void set(const Vec*, const Vec*, const Vec*, const Vec*);
};
#endif