mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Build type information on first use (load-time), instead of using a hardcoded list
--HG-- branch : dynamiccore2
This commit is contained in:
@@ -29,6 +29,8 @@ namespace love
|
||||
namespace joystick
|
||||
{
|
||||
|
||||
love::Type Joystick::type(&Object::type);
|
||||
|
||||
float Joystick::clampval(float x)
|
||||
{
|
||||
if (fabsf(x) < 0.01)
|
||||
|
||||
Reference in New Issue
Block a user