Files
tp/include/SSystem/SComponent/c_m3d_g_tri.h
T

23 lines
542 B
C++
Raw Normal View History

2021-04-08 16:01:29 +02:00
#ifndef C_M3D_G_TRI_H_
#define C_M3D_G_TRI_H_
2021-03-28 22:49:05 +02:00
2021-04-08 16:01:29 +02:00
#include "SSystem/SComponent/c_m3d_g_cyl.h"
#include "SSystem/SComponent/c_m3d_g_pla.h"
#include "SSystem/SComponent/c_xyz.h"
2021-03-28 22:49:05 +02:00
#include "dolphin/types.h"
2021-04-08 16:01:29 +02:00
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