Fix typos.

This commit is contained in:
Bruce Mitchener
2024-02-08 15:12:30 +07:00
parent a8685ed6ab
commit e4419c4f18
66 changed files with 261 additions and 263 deletions

View File

@@ -34,9 +34,9 @@
* @brief translate existing transform matrix by v vector
* and stores result in same matrix
*
* this is POST transform, applies to existing transform as last transfrom
* this is POST transform, applies to existing transform as last transform
*
* @param[in, out] m affine transfrom
* @param[in, out] m affine transform
* @param[in] v translate vector [x, y, z]
*/
CGLM_INLINE
@@ -51,9 +51,9 @@ glm_translated(mat4 m, vec3 v) {
*
* source matrix will remain same
*
* this is POST transform, applies to existing transform as last transfrom
* this is POST transform, applies to existing transform as last transform
*
* @param[in] m affine transfrom
* @param[in] m affine transform
* @param[in] v translate vector [x, y, z]
* @param[out] dest translated matrix
*/
@@ -67,9 +67,9 @@ glm_translated_to(mat4 m, vec3 v, mat4 dest) {
/*!
* @brief translate existing transform matrix by x factor
*
* this is POST transform, applies to existing transform as last transfrom
* this is POST transform, applies to existing transform as last transform
*
* @param[in, out] m affine transfrom
* @param[in, out] m affine transform
* @param[in] x x factor
*/
CGLM_INLINE
@@ -81,9 +81,9 @@ glm_translated_x(mat4 m, float x) {
/*!
* @brief translate existing transform matrix by y factor
*
* this is POST transform, applies to existing transform as last transfrom
* this is POST transform, applies to existing transform as last transform
*
* @param[in, out] m affine transfrom
* @param[in, out] m affine transform
* @param[in] y y factor
*/
CGLM_INLINE
@@ -95,9 +95,9 @@ glm_translated_y(mat4 m, float y) {
/*!
* @brief translate existing transform matrix by z factor
*
* this is POST transform, applies to existing transform as last transfrom
* this is POST transform, applies to existing transform as last transform
*
* @param[in, out] m affine transfrom
* @param[in, out] m affine transform
* @param[in] z z factor
*/
CGLM_INLINE
@@ -110,9 +110,9 @@ glm_translated_z(mat4 m, float z) {
* @brief rotate existing transform matrix around X axis by angle
* and store result in dest
*
* this is POST transform, applies to existing transform as last transfrom
* this is POST transform, applies to existing transform as last transform
*
* @param[in] m affine transfrom
* @param[in] m affine transform
* @param[in] angle angle (radians)
* @param[out] dest rotated matrix
*/
@@ -137,9 +137,9 @@ glm_rotated_x(mat4 m, float angle, mat4 dest) {
* @brief rotate existing transform matrix around Y axis by angle
* and store result in dest
*
* this is POST transform, applies to existing transform as last transfrom
* this is POST transform, applies to existing transform as last transform
*
* @param[in] m affine transfrom
* @param[in] m affine transform
* @param[in] angle angle (radians)
* @param[out] dest rotated matrix
*/
@@ -164,9 +164,9 @@ glm_rotated_y(mat4 m, float angle, mat4 dest) {
* @brief rotate existing transform matrix around Z axis by angle
* and store result in dest
*
* this is POST transform, applies to existing transform as last transfrom
* this is POST transform, applies to existing transform as last transform
*
* @param[in] m affine transfrom
* @param[in] m affine transform
* @param[in] angle angle (radians)
* @param[out] dest rotated matrix
*/
@@ -190,9 +190,9 @@ glm_rotated_z(mat4 m, float angle, mat4 dest) {
/*!
* @brief rotate existing transform matrix around given axis by angle
*
* this is POST transform, applies to existing transform as last transfrom
* this is POST transform, applies to existing transform as last transform
*
* @param[in, out] m affine transfrom
* @param[in, out] m affine transform
* @param[in] angle angle (radians)
* @param[in] axis axis
*/
@@ -208,9 +208,9 @@ glm_rotated(mat4 m, float angle, vec3 axis) {
* @brief rotate existing transform
* around given axis by angle at given pivot point (rotation center)
*
* this is POST transform, applies to existing transform as last transfrom
* this is POST transform, applies to existing transform as last transform
*
* @param[in, out] m affine transfrom
* @param[in, out] m affine transform
* @param[in] pivot rotation center
* @param[in] angle angle (radians)
* @param[in] axis axis
@@ -230,9 +230,9 @@ glm_rotated_at(mat4 m, vec3 pivot, float angle, vec3 axis) {
/*!
* @brief rotate existing transform matrix around given axis by angle around self (doesn't affected by position)
*
* this is POST transform, applies to existing transform as last transfrom
* this is POST transform, applies to existing transform as last transform
*
* @param[in, out] m affine transfrom
* @param[in, out] m affine transform
* @param[in] angle angle (radians)
* @param[in] axis axis
*/