LogicAndTrick / sledge-formats

C# parsers and formats for Half-Life 1 and related engines.
MIT License
71 stars 10 forks source link

Added parenthesis for vector calculations #2

Closed kaphula closed 3 years ago

kaphula commented 3 years ago

Just a small cosmetic change. Since there is two subtraction operations side by side, I thought it might useful to clarify the order of the vector operations. It might prevent bugs when this code is being used as a reference for other language implementations as the operator precedence behavior might vary.

LogicAndTrick commented 3 years ago

Thanks for the contribution, however I do not agree with the justification for the change and I don't think it improves the code. Sorry, but I'll close this one without merging.