2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-05 13:15:51 +00:00

CWorldLight: Explicitly default copy assignment, move assignment and move constructor

Makes the interface consistent with how the constructor is specified.
This commit is contained in:
Lioncash 2020-04-07 07:19:48 -04:00
parent 18c0111edb
commit 7ba5a5b183

View File

@ -29,8 +29,14 @@ private:
float x40_ = 0.f; float x40_ = 0.f;
public: public:
CWorldLight(const CWorldLight&) = default;
explicit CWorldLight(CInputStream& in); explicit CWorldLight(CInputStream& in);
CWorldLight(const CWorldLight&) = default;
CWorldLight& operator=(const CWorldLight&) = default;
CWorldLight(CWorldLight&&) = default;
CWorldLight& operator=(CWorldLight&&) = default;
EWorldLightType GetLightType() const { return x0_type; } EWorldLightType GetLightType() const { return x0_type; }
const zeus::CVector3f& GetDirection() const { return x1c_direction; } const zeus::CVector3f& GetDirection() const { return x1c_direction; }
const zeus::CVector3f& GetPosition() const { return x10_position; } const zeus::CVector3f& GetPosition() const { return x10_position; }