Minor code cleanup

This commit is contained in:
Alex Szpakowski
2014-05-01 14:12:21 -03:00
parent e667485f68
commit e4dc533bb2
26 changed files with 112 additions and 110 deletions
+1 -1
View File
@@ -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;
+1 -3
View File
@@ -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: