mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.
This commit is contained in:
@@ -365,7 +365,6 @@ Vector2 Input::get_vector(const StringName &p_negative_x, const StringName &p_po
|
||||
// Inverse lerp length to map (p_deadzone, 1) to (0, 1).
|
||||
return vector * (Math::inverse_lerp(p_deadzone, 1.0f, length) / length);
|
||||
}
|
||||
return vector;
|
||||
}
|
||||
|
||||
float Input::get_joy_axis(int p_device, JoyAxis p_axis) const {
|
||||
|
||||
Reference in New Issue
Block a user