john-chapman / im3d

Immediate mode rendering and 3d gizmos.
MIT License
1.21k stars 63 forks source link

Fix warnings and remove trailing whitespaces. #46

Closed melix99 closed 3 years ago

melix99 commented 3 years ago

Hello and Marry Christmas!

I got some warnings compiling im3d with gcc, so this PR fixes them. I also used editorconfig to remove some trailing whitespaces. The warnings were about the backslash used in the comments in im3d_config.h (that I removed because they weren't used for multiline comments) and for the use of old-style cast of some values in im3d.h (replaced by functional casting).