mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
CPlayerCameraBob: Make static non-const member variables private
Prevents accidental modification of the values from occurring in code that makes use of them. Many of these constants aren't even used outside of the class itself in the first place.
This commit is contained in:
@@ -27,6 +27,13 @@ public:
|
||||
Unspecified
|
||||
};
|
||||
|
||||
static zeus::CVector2f GetCameraBobExtent() { return {kCameraBobExtentX, kCameraBobExtentY}; }
|
||||
static float GetCameraBobPeriod() { return kCameraBobPeriod; }
|
||||
static float GetOrbitBobScale() { return kOrbitBobScale; }
|
||||
static float GetMaxOrbitBobScale() { return kMaxOrbitBobScale; }
|
||||
static float GetSlowSpeedPeriodScale() { return kSlowSpeedPeriodScale; }
|
||||
|
||||
private:
|
||||
static float kCameraBobExtentX;
|
||||
static float kCameraBobExtentY;
|
||||
static float kCameraBobPeriod;
|
||||
@@ -46,7 +53,6 @@ public:
|
||||
static const float kLandingBobDamping2;
|
||||
static const float kCameraDamping;
|
||||
|
||||
private:
|
||||
ECameraBobType x0_type;
|
||||
zeus::CVector2f x4_vec;
|
||||
float xc_bobPeriod;
|
||||
|
||||
Reference in New Issue
Block a user