mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-13 05:49:21 -04:00
9649319ec4
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}
* Update configure.py and project.py for new libs structure
* Refactor `#include <dolphin/x.h>` -> `<x.h>`
* Remove `__REVOLUTION_SDK__` forwards from dolphin
* Fix dolphin/ references in revolution
* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`
* Always build TRK against dolphin headers
* Resolve revolution SDK header resolution issues
36 lines
614 B
C++
36 lines
614 B
C++
#ifndef C_M3D_G_CIR_H
|
|
#define C_M3D_G_CIR_H
|
|
|
|
#include <types.h>
|
|
|
|
class cM2dGCir {
|
|
public:
|
|
f32 mPosX;
|
|
f32 mPosY;
|
|
f32 mRadius;
|
|
|
|
f32 GetCx() const { return mPosX; }
|
|
f32 GetCy() const { return mPosY; }
|
|
f32 GetR() const { return mRadius; }
|
|
|
|
void Set(f32 pos_x, f32 pos_y, f32 radius) {
|
|
mPosX = pos_x;
|
|
mPosY = pos_y;
|
|
mRadius = radius;
|
|
}
|
|
|
|
cM2dGCir() {}
|
|
virtual ~cM2dGCir() {}
|
|
};
|
|
|
|
class cM3dGCir : public cM2dGCir {
|
|
f32 mPosZ;
|
|
|
|
public:
|
|
cM3dGCir(void);
|
|
virtual ~cM3dGCir(void);
|
|
void Set(f32, f32, f32, f32);
|
|
};
|
|
|
|
#endif /* C_M3D_G_CIR_H */
|