mirror of
https://github.com/zeldaret/tp
synced 2026-06-27 18:53:08 -04:00
c70d485d35
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>
23 lines
482 B
C++
23 lines
482 B
C++
#ifndef C_M3D_G_CYL_H_
|
|
#define C_M3D_G_CYL_H_
|
|
|
|
#include "SComponent/c_xyz.h"
|
|
#include "global.h"
|
|
|
|
struct cM3dGCylS;
|
|
struct cM3dGSph;
|
|
|
|
class cM3dGCyl {
|
|
public:
|
|
cM3dGCyl(const cXyz*, float, float);
|
|
void Set(const cM3dGCylS&);
|
|
void Set(const cXyz&, float, float);
|
|
void SetC(const cXyz&);
|
|
void SetH(float);
|
|
void SetR(float);
|
|
bool cross(const cM3dGSph*, cXyz*) const;
|
|
bool cross(const cM3dGCyl*, cXyz*) const;
|
|
void calcMinMax(cXyz*, cXyz*);
|
|
};
|
|
|
|
#endif |