mirror of
https://github.com/recp/cglm.git
synced 2025-12-24 12:32:40 +00:00
fix some doc typos & warnings
This commit is contained in:
@@ -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
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user