mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Minor code cleanup
This commit is contained in:
@@ -29,7 +29,7 @@ namespace love
|
||||
namespace joystick
|
||||
{
|
||||
|
||||
float Joystick::clampval(float x) const
|
||||
float Joystick::clampval(float x)
|
||||
{
|
||||
if (fabsf(x) < 0.01)
|
||||
return 0.0f;
|
||||
|
||||
@@ -173,9 +173,7 @@ public:
|
||||
static bool getConstant(const char *in, InputType &out);
|
||||
static bool getConstant(InputType in, const char *&out);
|
||||
|
||||
protected:
|
||||
|
||||
float clampval(float x) const;
|
||||
static float clampval(float x);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user