OGRECave / ogre-next

aka ogre v2 - scene-oriented, flexible 3D C++ engine
https://ogrecave.github.io/ogre-next/api/latest
Other
1.08k stars 233 forks source link

Fix miscellaneous formatting problems, typos etc. in some of the docs #461

Open jwwalker opened 3 months ago

jwwalker commented 3 months ago

A few specifics:

It is sometimes necessary to add a comma after "i.e." or "e.g." to prevent an unintended paragraph break, due to Ogre's use of the JAVADOC_AUTOBRIEF Doxygen setting.

@see should not be used inside a paragraph, only as a freestanding item, because it starts a new paragraph.

I resorted to HTML to get a decent rendering of the formula in Light::setAttenuationBasedOnRadius.

When I was modifying a file for other reasons, I also fixed incorrect usage of "it's". The rule is that "it's" is a contraction for "it is" or "it has", while "its" is used for the possessive, "belonging to it". Yes, this is inconsistent with other English possessives.