foone / 3DMMForever

A modernized version of the Microsoft 3D Movie Maker release
MIT License
537 stars 24 forks source link

clang-format with Microsoft rules #23

Closed frank-weindel closed 2 years ago

frank-weindel commented 2 years ago

This PR strictly contains updates made by clang-format aside from the addition of a .clang-format file.

These rules seem to work well with existing comments and gets rid of the funky curly brace style once and for all for something much saner.

Sorting of includes had to be turned off since the order of them matters to the compiler.

Hide whitespace while reviewing in order to better see the more pertinent changes: https://github.blog/changelog/2021-10-14-hiding-whitespace-is-now-remembered-for-each-pull-request/

LowLevelMahn commented 2 years ago

i find it better to ready, less playing with spaces etc. , and a forced homogen style is everything