91e9ad92f5
The main change is to caculate tangent directly from bezier curve, without going through discretized polyline, avoiding pitfalls of discretization. A similar refacor had been applied to Curve3D. The test cases for Curve2D is updated, comparing floating point with is_equal_approxmiate() instead of `==`, in order to avoid float precision problem. |
||
---|---|---|
.. | ||
test_animation.h | ||
test_arraymesh.h | ||
test_audio_stream_wav.h | ||
test_bit_map.h | ||
test_code_edit.h | ||
test_curve.h | ||
test_gradient.h | ||
test_path_2d.h | ||
test_path_3d.h | ||
test_path_follow_2d.h | ||
test_path_follow_3d.h | ||
test_primitives.h | ||
test_sprite_frames.h | ||
test_text_edit.h | ||
test_theme.h |