From 3abf47f175c1cb51042fa6a34837310a675e62d1 Mon Sep 17 00:00:00 2001 From: Uwila Date: Fri, 20 Mar 2020 20:56:17 +0100 Subject: [PATCH 1/2] Make Github recognize header language as C (#127) Without this a lot of `*.h` files are marked as being C++ or Objective-C, even though all of it is C. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..15a5c58 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.h linguist-language=C From 2bf576c2cd04217e7e7d00e2619769dacf4ca665 Mon Sep 17 00:00:00 2001 From: Uwila Date: Fri, 20 Mar 2020 20:58:48 +0100 Subject: [PATCH 2/2] Fix documentation mistake for glm_vec3_rotate (#126) In the documentation, for glm_vec3_rotate, correctly labels `angle` as `in` rather than `out`. Co-authored-by: Recep Aslantas --- docs/source/vec3.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/vec3.rst b/docs/source/vec3.rst index 100e849..5407b61 100644 --- a/docs/source/vec3.rst +++ b/docs/source/vec3.rst @@ -392,7 +392,7 @@ Functions documentation Parameters: | *[in, out]* **v** vector | *[in]* **axis** axis vector (will be normalized) - | *[out]* **angle** angle (radians) + | *[in]* **angle** angle (radians) .. c:function:: void glm_vec3_rotate_m4(mat4 m, vec3 v, vec3 dest)