godot/scene/animation
lawnjelly 6f8e632848 Make acos and asin safe
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.
2023-05-11 09:51:44 +01:00
..
animation_blend_space_1d.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_blend_space_1d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_blend_space_2d.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_blend_space_2d.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_blend_tree.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_blend_tree.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_cache.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_cache.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_node_state_machine.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_node_state_machine.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_player.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_player.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_tree_player.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_tree_player.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_tree.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
animation_tree.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
easing_equations.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
root_motion_view.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
root_motion_view.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
scene_tree_tween.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
scene_tree_tween.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
SCsub Backport the new Tween system as SceneTreeTween 2022-04-29 20:01:12 +08:00
skeleton_ik.cpp Make acos and asin safe 2023-05-11 09:51:44 +01:00
skeleton_ik.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
tween.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
tween.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00