recp / cglm

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

[minor feature] Add macros usable as initializers #432

Open pm4gh opened 4 days ago

pm4gh commented 4 days ago

In vec3.h there are pairs of macros like GLM_VEC3_ONE_INIT and GLM_VEC3_ONE.

Would it be possible to add similar _INIT ones for GLM_XUP, GLM_YUP and GLM_ZUP ?

recp commented 17 hours ago

Hi @pm4gh,

Yes, definitely. Added to TODOs.

👍