docs: Use .. note:: to display better.

Also, make sure the note content has a blank line after it to
remove a warning from Sphinx.
This commit is contained in:
Bruce Mitchener
2024-02-11 23:39:03 +07:00
parent 270d2b9d05
commit af5048595f
17 changed files with 35 additions and 29 deletions

View File

@@ -263,7 +263,7 @@ Functions documentation
| e.g Newton-Raphson. this should work faster than normal,
| to get more precise use glm_mat4_inv version.
| NOTE: You will lose precision, glm_mat4_inv is more accurate
.. note:: You will lose precision, glm_mat4_inv is more accurate
Parameters:
| *[in]* **mat** source
@@ -308,7 +308,7 @@ Functions documentation
Create mat4 matrix from pointer
| NOTE: **@src** must contain at least 16 elements.
.. note:: **@src** must contain at least 16 elements.
Parameters:
| *[in]* **src** pointer to an array of floats