mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
50c5ed4876
A common bug with using acos and asin is that input outside -1 to 1 range will result in Nan output. This can occur due to floating point error in the input. The standard solution is to provide safe_acos function with clamped input. For Godot it may make more sense to make the standard functions safe. |
||
---|---|---|
.. | ||
config | ||
input | ||
io | ||
math | ||
object | ||
os | ||
string | ||
templates | ||
threads | ||
variant | ||
test_crypto.h | ||
test_hashing_context.h | ||
test_time.h |