mirror of https://github.com/AxioDL/metaforce.git
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:
parent
18c0111edb
commit
7ba5a5b183
|
@ -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; }
|
||||||
|
|
Loading…
Reference in New Issue