diff options
author | Yaohua Xiong <xiongyaohua@gmail.com> | 2022-11-27 10:23:27 +0800 |
---|---|---|
committer | Yaohua Xiong <xiongyaohua@gmail.com> | 2022-12-03 17:01:03 +0800 |
commit | 69f84563a33af5f0930cc97c1a4978fa6211b5aa (patch) | |
tree | 48b681341e19e19d3109f4dcbc528a59924d107d /thirdparty/basis_universal/encoder/basisu_pvrtc1_4.cpp | |
parent | 30800d20f452015c054dc7d1d7cfd38362fe28ff (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/basis_universal/encoder/basisu_pvrtc1_4.cpp')
0 files changed, 0 insertions, 0 deletions