recp / cglm

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

include/cglm/handed/euler_to_quat_lh.h is missing a final newline #426

Open pm4gh opened 1 month ago

pm4gh commented 1 month ago

The C standard (at least C99) states that a source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character.

This is not purely pedantic although a marginal use case: I was bitten by the issue when trying to archive the set of include files in a text archive (a shar file).

recp commented 1 month ago

Hi @pm4gh,

Sorry for the delay, https://github.com/recp/cglm/commit/2f619cdd6f5ce4a9b425babfdfce1af36bfda2af must fix the issue,

Thanks for reporting this