Skip to content

Commit

Permalink
fix some doc typos & warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
recp committed Dec 30, 2023
1 parent 3a2a26e commit 015e859
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
16 changes: 8 additions & 8 deletions include/cglm/aabb2d.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ glm_aabb2d_merge(vec2 aabb1[2], vec2 aabb2[2], vec2 dest[2]) {
* aabb
*
* @param[in] aabb bounding aabb 1
* @param[in] cropaabb crop aabb
* @param[out] dest cropped bounding aabb
* @param[in] cropAabb crop aabb
* @param[out] dest cropped bounding aabb
*/
CGLM_INLINE
void
Expand All @@ -107,16 +107,16 @@ glm_aabb2d_crop(vec2 aabb[2], vec2 cropAabb[2], vec2 dest[2]) {
* aabb
*
* @param[in] aabb bounding aabb
* @param[in] cropaabb crop aabb
* @param[in] clampaabb miniumum aabb
* @param[out] dest cropped bounding aabb
* @param[in] cropAabb crop aabb
* @param[in] clampAabb miniumum aabb
* @param[out] dest cropped bounding aabb
*/
CGLM_INLINE
void
glm_aabb2d_crop_until(vec2 aabb[2],
vec2 cropAabb[2],
vec2 clampAabb[2],
vec2 dest[2]) {
vec2 cropAabb[2],
vec2 clampAabb[2],
vec2 dest[2]) {
glm_aabb2d_crop(aabb, cropAabb, dest);
glm_aabb2d_merge(clampAabb, dest, dest);
}
Expand Down
4 changes: 2 additions & 2 deletions include/cglm/ivec2.h
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ glm_ivec2_subsubs(ivec2 a, int s, ivec2 dest) {
* applies -= operator so dest must be initialized
*
* @param[in] a vector
* @param[in] s scalar
* @param[in] b scalar
* @param[out] dest dest -= (a + b)
*/
CGLM_INLINE
Expand Down Expand Up @@ -392,7 +392,7 @@ glm_ivec2_addsubs(ivec2 a, int s, ivec2 dest) {
* applies -= operator so dest must be initialized
*
* @param[in] a vector
* @param[in] s scalar
* @param[in] b scalar
* @param[out] dest dest -= (a * b)
*/
CGLM_INLINE
Expand Down
4 changes: 2 additions & 2 deletions include/cglm/ivec3.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ glm_ivec3_subsubs(ivec3 a, int s, ivec3 dest) {
* applies -= operator so dest must be initialized
*
* @param[in] a vector
* @param[in] s scalar
* @param[in] b scalar
* @param[out] dest dest -= (a + b)
*/
CGLM_INLINE
Expand Down Expand Up @@ -412,7 +412,7 @@ glm_ivec3_addsubs(ivec3 a, int s, ivec3 dest) {
* applies -= operator so dest must be initialized
*
* @param[in] a vector
* @param[in] s scalar
* @param[in] b scalar
* @param[out] dest dest -= (a * b)
*/
CGLM_INLINE
Expand Down
4 changes: 2 additions & 2 deletions include/cglm/ivec4.h
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ glm_ivec4_subsubs(ivec4 a, int s, ivec4 dest) {
* applies -= operator so dest must be initialized
*
* @param[in] a vector
* @param[in] s scalar
* @param[in] b scalar
* @param[out] dest dest -= (a + b)
*/
CGLM_INLINE
Expand Down Expand Up @@ -430,7 +430,7 @@ glm_ivec4_addsubs(ivec4 a, int s, ivec4 dest) {
* applies -= operator so dest must be initialized
*
* @param[in] a vector
* @param[in] s scalar
* @param[in] b scalar
* @param[out] dest dest -= (a * b)
*/
CGLM_INLINE
Expand Down
12 changes: 6 additions & 6 deletions include/cglm/struct/euler.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ glms_euler_by_order(vec3s angles, glm_euler_seq ord) {
* rotations in x y z order (roll pitch yaw)
*
* @param[in] angles angles x y z (radians)
* @param[out] dest quaternion
* @returns quaternion
*/
CGLM_INLINE
versors
Expand All @@ -175,7 +175,7 @@ glms_euler_xyz_quat(vec3s angles) {
* rotations in x z y order (roll yaw pitch)
*
* @param[in] angles angles x y z (radians)
* @param[out] dest quaternion
* @returns quaternion
*/
CGLM_INLINE
versors
Expand All @@ -190,7 +190,7 @@ glms_euler_xzy_quat(vec3s angles) {
* rotations in y x z order (pitch roll yaw)
*
* @param[in] angles angles x y z (radians)
* @param[out] dest quaternion
* @returns quaternion
*/
CGLM_INLINE
versors
Expand All @@ -205,7 +205,7 @@ glms_euler_yxz_quat(vec3s angles) {
* rotations in y z x order (pitch yaw roll)
*
* @param[in] angles angles x y z (radians)
* @param[out] dest quaternion
* @returns quaternion
*/
CGLM_INLINE
versors
Expand All @@ -220,7 +220,7 @@ glms_euler_yzx_quat(vec3s angles) {
* rotations in z x y order (yaw roll pitch)
*
* @param[in] angles angles x y z (radians)
* @param[out] dest quaternion
* @returns quaternion
*/
CGLM_INLINE
versors
Expand All @@ -235,7 +235,7 @@ glms_euler_zxy_quat(vec3s angles) {
* rotations in z y x order (yaw pitch roll)
*
* @param[in] angles angles x y z (radians)
* @param[out] dest quaternion
* @returns quaternion
*/
CGLM_INLINE
versors
Expand Down

0 comments on commit 015e859

Please sign in to comment.