commit b399367d7ceaa2242275ee3edb0d735c87346768 parent e55048b2657e71f6eb48c321ca8cbe7c2e41ce94 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Thu, 17 Sep 2020 11:29:10 +0200 Write the 0.10 release note Diffstat:
| M | README.md | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md @@ -97,6 +97,19 @@ with `<STAR2D_INSTALL_DIR>` the install directory of Star-2D and ## Release notes +### Version 0.4 + +- Add the `s2d_scene_view_closest_point` function. This function retrieves the + closest point into the scene to a query position in a radius from ]0, INF]. + This closest point is returned as a regular hit which means that the function + returns to the caller not only the distance to the query position, but also + the geometric primitive onto which the point lies and its location onto this + primitive. If no segment lies around the query position in a distance lesser + than the one defined by the query radius, the returned hit is invalid which + can be checked with the regular `S2D_HIT_NONE` macro. Finally, this function + supports the filter functions so that the caller can choose to discard + closest hits according to its own criteria. + ### Version 0.3.1 - Fix the `s2d_segment_get_vertex_attrib` function: it could fail and return an