You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vector2.clamped returns nans (Not a Number) when operating on vectors with INF components while clamp global function seems to work just fine, I'd expect Vector2.clamped to be able to handle INFs as well.
The text was updated successfully, but these errors were encountered:
I think this is a more general problem with INFVector math as Vector2(INF, 0) * Vector2.ZERO also gives Vector2(-nan, 0) say. I haven't tried Vector3 yet
Godot version:
3.1.1.stable.official
Vector2.clamped
returnsnan
s (Not a Number) when operating on vectors withINF
components whileclamp
global function seems to work just fine, I'd expectVector2.clamped
to be able to handleINF
s as well.The text was updated successfully, but these errors were encountered: