recp / cglm

📽 Highly Optimized 2D / 3D Graphics Math (glm) for C
MIT License
2.34k stars 231 forks source link

aabb2d Struct API missing diag and sizev functions from Array API #429

Open rogeriodomingos opened 2 months ago

rogeriodomingos commented 2 months ago

The aabb2d Struct API has glms_aabb2d_size which should probably be renamed to glms_aabb2d_diag and call glm_aabb2d_diag from the Array API. It is also missing glms_aabb2d_sizev which should call glm_aabb2d_sizev.

recp commented 2 months ago

Hi @rogeriodomingos,

Thanks for the catch! I’ll do it asap if no one intends to create a PR :)

duarm commented 2 months ago

I might pick this one up this weekend, it's my fault anyway

recp commented 2 months ago

Hi @duarm,

Sounds great, thanks! 👍