From d7156194c0303089689464fc3e90e8c74086508b Mon Sep 17 00:00:00 2001 From: Zuzu-Typ Date: Fri, 11 Oct 2024 16:56:25 +0200 Subject: [PATCH] Add quat_to_vec4 (and vice-versa) documentation --- wiki/function-reference/README.md | 2 ++ wiki/function-reference/README.sb | 2 ++ wiki/function-reference/other/README.md | 2 ++ wiki/function-reference/other/README.sb | 2 ++ wiki/function-reference/other/other.md | 10 ++++++++++ wiki/function-reference/other/other.sb | 10 ++++++++++ 6 files changed, 28 insertions(+) diff --git a/wiki/function-reference/README.md b/wiki/function-reference/README.md index a9fac6cf..e9b890a7 100644 --- a/wiki/function-reference/README.md +++ b/wiki/function-reference/README.md @@ -429,8 +429,10 @@ This means that you can call the ``` glm.abs ``` function with a ``` float ``` ` * [**neg** function ](other/other.md#neg-function) * [**or\_** function ](other/other.md#or_-function) * [**pos** function ](other/other.md#pos-function) + * [**quat\_to\_vec4** function ](other/other.md#quat_to_vec4-function) * [**rshift** function ](other/other.md#rshift-function) * [**silence** function ](other/other.md#silence-function) * [**sub** function ](other/other.md#sub-function) + * [**vec4\_to\_quat** function ](other/other.md#vec4_to_quat-function) * [**xor** function ](other/other.md#xor-function) diff --git a/wiki/function-reference/README.sb b/wiki/function-reference/README.sb index a4bbe84c..654bfefa 100644 --- a/wiki/function-reference/README.sb +++ b/wiki/function-reference/README.sb @@ -426,8 +426,10 @@ This means that you can call the \code\glm.abs\code\ function with a \code\float \---\ \url other/other.md#neg-function \\b\neg\b\ function \ url\ \---\ \url other/other.md#or_-function \\b\or_\b\ function \ url\ \---\ \url other/other.md#pos-function \\b\pos\b\ function \ url\ +\---\ \url other/other.md#quat_to_vec4-function \\b\quat_to_vec4\b\ function \ url\ \---\ \url other/other.md#rshift-function \\b\rshift\b\ function \ url\ \---\ \url other/other.md#silence-function \\b\silence\b\ function \ url\ \---\ \url other/other.md#sub-function \\b\sub\b\ function \ url\ +\---\ \url other/other.md#vec4_to_quat-function \\b\vec4_to_quat\b\ function \ url\ \---\ \url other/other.md#xor-function \\b\xor\b\ function \ url\ \ul\ diff --git a/wiki/function-reference/other/README.md b/wiki/function-reference/other/README.md index a1759ba0..dccba353 100644 --- a/wiki/function-reference/other/README.md +++ b/wiki/function-reference/other/README.md @@ -15,8 +15,10 @@ * [**neg** function ](other.md#neg-function) * [**or\_** function ](other.md#or_-function) * [**pos** function ](other.md#pos-function) + * [**quat\_to\_vec4** function ](other.md#quat_to_vec4-function) * [**rshift** function ](other.md#rshift-function) * [**silence** function ](other.md#silence-function) * [**sub** function ](other.md#sub-function) + * [**vec4\_to\_quat** function ](other.md#vec4_to_quat-function) * [**xor** function ](other.md#xor-function) diff --git a/wiki/function-reference/other/README.sb b/wiki/function-reference/other/README.sb index 13301a5c..49a4b1ae 100644 --- a/wiki/function-reference/other/README.sb +++ b/wiki/function-reference/other/README.sb @@ -13,8 +13,10 @@ \--\ \url other.md#neg-function \\b\neg\b\ function \ url\ \--\ \url other.md#or_-function \\b\or_\b\ function \ url\ \--\ \url other.md#pos-function \\b\pos\b\ function \ url\ +\--\ \url other.md#quat_to_vec4-function \\b\quat_to_vec4\b\ function \ url\ \--\ \url other.md#rshift-function \\b\rshift\b\ function \ url\ \--\ \url other.md#silence-function \\b\silence\b\ function \ url\ \--\ \url other.md#sub-function \\b\sub\b\ function \ url\ +\--\ \url other.md#vec4_to_quat-function \\b\vec4_to_quat\b\ function \ url\ \--\ \url other.md#xor-function \\b\xor\b\ function \ url\ \ul\ diff --git a/wiki/function-reference/other/other.md b/wiki/function-reference/other/other.md index 4ae1782c..da0660e3 100644 --- a/wiki/function-reference/other/other.md +++ b/wiki/function-reference/other/other.md @@ -18,9 +18,11 @@ PyGLM's custom functions\. * [**neg** function](#neg-function) * [**or\_** function](#or_-function) * [**pos** function](#pos-function) +* [**quat\_to\_vec4** function](#quat_to_vec4-function) * [**rshift** function](#rshift-function) * [**silence** function](#silence-function) * [**sub** function](#sub-function) +* [**vec4\_to\_quat** function](#vec4_to_quat-function) * [**xor** function](#xor-function) ### add\(\) function @@ -71,6 +73,10 @@ PyGLM's custom functions\. #### glm.**pos**(**a**) -\> *Any*   Equivalent to ``` +a ```\. +### quat\_to\_vec4\(\) function +#### glm.**quat_to_vec4**(**quat**) -\> *vec4* +  Component wise conversion of quat to vec4\. + ### rshift\(\) function #### glm.**rshift**(**a**, **b**) -\> *Any*   Equivalent to ``` a >> b ```\. @@ -83,6 +89,10 @@ PyGLM's custom functions\. #### glm.**sub**(**a**, **b**) -\> *Any*   Equivalent to ``` a - b ```\. +### vec4\_to\_quat\(\) function +#### glm.**vec4_to_quat**(**vec4**) -\> *quat* +  Component wise conversion of vec4 to quat\. + ### xor\(\) function #### glm.**xor**(**a**, **b**) -\> *Any*   Equivalent to ``` a ^ b ```\. diff --git a/wiki/function-reference/other/other.sb b/wiki/function-reference/other/other.sb index 57555261..e081fdf2 100644 --- a/wiki/function-reference/other/other.sb +++ b/wiki/function-reference/other/other.sb @@ -16,9 +16,11 @@ PyGLM's custom functions. \-\\url #neg-function\\b\neg\b\ function\url\ \-\\url #or_-function\\b\or_\b\ function\url\ \-\\url #pos-function\\b\pos\b\ function\url\ +\-\\url #quat_to_vec4-function\\b\quat_to_vec4\b\ function\url\ \-\\url #rshift-function\\b\rshift\b\ function\url\ \-\\url #silence-function\\b\silence\b\ function\url\ \-\\url #sub-function\\b\sub\b\ function\url\ +\-\\url #vec4_to_quat-function\\b\vec4_to_quat\b\ function\url\ \-\\url #xor-function\\b\xor\b\ function\url\ \ul\ \h3\add() function\h3\ @@ -69,6 +71,10 @@ PyGLM's custom functions. \raw\#### glm.**pos**(**a**) -\\> *Any*\raw\ \raw\  \raw\Equivalent to \code\+a\code\. +\h3\quat_to_vec4() function\h3\ +\raw\#### glm.**quat_to_vec4**(**quat**) -\\> *vec4*\raw\ +\raw\  \raw\Component wise conversion of quat to vec4. + \h3\rshift() function\h3\ \raw\#### glm.**rshift**(**a**, **b**) -\\> *Any*\raw\ \raw\  \raw\Equivalent to \code\a >> b\code\. @@ -81,6 +87,10 @@ PyGLM's custom functions. \raw\#### glm.**sub**(**a**, **b**) -\\> *Any*\raw\ \raw\  \raw\Equivalent to \code\a - b\code\. +\h3\vec4_to_quat() function\h3\ +\raw\#### glm.**vec4_to_quat**(**vec4**) -\\> *quat*\raw\ +\raw\  \raw\Component wise conversion of vec4 to quat. + \h3\xor() function\h3\ \raw\#### glm.**xor**(**a**, **b**) -\\> *Any*\raw\ \raw\  \raw\Equivalent to \code\a ^ b\code\.