go-gl / mathgl

A pure Go 3D math library.
BSD 3-Clause "New" or "Revised" License
554 stars 65 forks source link

Fix docstrings to match effective Go convention #78

Closed pwaller closed 5 years ago

pwaller commented 5 years ago

Further to pull request in #75.

Turned out to be a surprisingly large amount of low value work :(. It's done now I suppose.

This was done on a best effort basis. I've reviewed the patch and don't think there are any non-comment/whitespace changes present. I have verified this by grepping for ^\+[^/] which looks for diff lines not starting with /.

There was one minor thing where I reordered a small function to make it easier to edit the comments in bulk.

pwaller commented 5 years ago

This was a best effort fix to please golint and I can't see any reason not to merge it since there are no semantic changes. Please submit a PR to fix anything if there are any mistakes.