mirror of https://github.com/godotengine/godot
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. |
||
|---|---|---|
| .. | ||
| core | ||
| data | ||
| python_build | ||
| scene | ||
| servers | ||
| SCsub | ||
| create_test.py | ||
| 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 | ||