issues
search
goostengine
/
goost
A general-purpose, extensible and customizable C++ extension for Godot Engine.
https://goostengine.github.io/
MIT License
481
stars
18
forks
source link
Add `is_between()` method
#154
Closed
Xrayez
closed
3 years ago
Xrayez
commented
3 years ago
Closes godotengine/godot#31639.
Removes the need to use
x >= a and x <= b
, so improves readability and/or usability.
Will work the same both for
a > b
or
b > a
, so this makes comparisons work regardless of order, in cases where you cannot be sure which value is min or max.
Closes godotengine/godot#31639.
x >= a and x <= b
, so improves readability and/or usability.a > b
orb > a
, so this makes comparisons work regardless of order, in cases where you cannot be sure which value is min or max.