summaryrefslogtreecommitdiff
path: root/thirdparty/recastnavigation/Recast/Source/RecastAlloc.cpp
diff options
context:
space:
mode:
authorYaohua Xiong <xiongyaohua@gmail.com>2022-11-27 10:23:27 +0800
committerYaohua Xiong <xiongyaohua@gmail.com>2022-12-03 17:01:03 +0800
commit69f84563a33af5f0930cc97c1a4978fa6211b5aa (patch)
tree48b681341e19e19d3109f4dcbc528a59924d107d /thirdparty/recastnavigation/Recast/Source/RecastAlloc.cpp
parent30800d20f452015c054dc7d1d7cfd38362fe28ff (diff)
Fix Curve3D::get_closest_point() broken
The problem is caused by calling adaptive tessellation baking function by mistake, which produce too few points for straight lines. Calling the even length tessellation fix the problem. The code for `get_closest_point()` and `get_closest_offset()` are also updated. They used to assume bake interval to be exact, which is no longer true. The out dated document for `get_closest_point()` is also updated.
Diffstat (limited to 'thirdparty/recastnavigation/Recast/Source/RecastAlloc.cpp')
0 files changed, 0 insertions, 0 deletions