efbb28d09a
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.
(cherry picked from commit
|
||
---|---|---|
.. | ||
core | ||
data | ||
python_build | ||
scene | ||
servers | ||
SCsub | ||
create_test.py | ||
display_server_mock.h | ||
test_macros.cpp | ||
test_macros.h | ||
test_main.cpp | ||
test_main.h | ||
test_tools.h | ||
test_utils.cpp | ||
test_utils.h | ||
test_validate_testing.h |