docs and call api for _aabb2d_zero

This commit is contained in:
duarm
2024-02-23 14:07:58 -03:00
parent 237432969d
commit 0d92bfc722
3 changed files with 16 additions and 3 deletions

View File

@@ -24,6 +24,7 @@ Macros:
Functions:
1. :c:func:`glm_aabb2d_copy`
#. :c:func:`glm_aabb2d_zero`
#. :c:func:`glm_aabb2d_transform`
#. :c:func:`glm_aabb2d_merge`
#. :c:func:`glm_aabb2d_crop`
@@ -50,6 +51,13 @@ Functions documentation
| *[in]* **aabb** bounding box
| *[out]* **dest** destination
.. c:function:: void glm_aabb2d_zero(vec2 aabb[2])
| makes all members of [aabb] 0.0f (zero)
Parameters:
| *[in, out]* **aabb** bounding box
.. c:function:: void glm_aabb2d_transform(vec2 aabb[2], mat3 m, vec2 dest[2])
| apply transform to Axis-Aligned Bounding Box