Files
tp/include/SComponent/c_m3d_g_sph.h
T
Erin Moon c70d485d35 normalize header guards to {tu_name}_H_ (#87)
i previously had a bad habit of using double underscores in include
guard macro names, which are implementation-reserved per
the C++98 standard (see 17.4.3.1.2 Global names).

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-18 14:02:51 -05:00

21 lines
440 B
C++

#ifndef C_M3D_G_SPH_H_
#define C_M3D_G_SPH_H_
#include "SComponent/c_m3d_g_cyl.h"
#include "SComponent/c_xyz.h"
#include "global.h"
struct cM3dGSphS;
class cM3dGSph {
public:
void SetC(const cXyz&);
void Set(const cXyz&, float);
void Set(const cM3dGSphS&);
void SetR(float);
bool cross(const cM3dGSph*, cXyz*) const;
bool cross(const cM3dGCyl*, cXyz*) const;
void GetMinMaxCube(cXyz&, cXyz&) const;
};
#endif