Skip to content

Commit

Permalink
Add quat_to_vec4 (and vice-versa) documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuzu-Typ committed Oct 11, 2024
1 parent 2f14bc6 commit d715619
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wiki/function-reference/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

2 changes: 2 additions & 0 deletions wiki/function-reference/README.sb
Original file line number Diff line number Diff line change
Expand Up @@ -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\
2 changes: 2 additions & 0 deletions wiki/function-reference/other/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

2 changes: 2 additions & 0 deletions wiki/function-reference/other/README.sb
Original file line number Diff line number Diff line change
Expand Up @@ -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\
10 changes: 10 additions & 0 deletions wiki/function-reference/other/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -71,6 +73,10 @@ PyGLM's custom functions\.
#### <code>glm.<code>**pos**(**a**) -\> *Any*</code></code>
&emsp;&emsp;Equivalent to ``` +a ```\.

### quat\_to\_vec4\(\) function
#### <code>glm.<code>**quat_to_vec4**(**quat**) -\> *vec4*</code></code>
&emsp;&emsp;Component wise conversion of quat to vec4\.

### rshift\(\) function
#### <code>glm.<code>**rshift**(**a**, **b**) -\> *Any*</code></code>
&emsp;&emsp;Equivalent to ``` a >> b ```\.
Expand All @@ -83,6 +89,10 @@ PyGLM's custom functions\.
#### <code>glm.<code>**sub**(**a**, **b**) -\> *Any*</code></code>
&emsp;&emsp;Equivalent to ``` a - b ```\.

### vec4\_to\_quat\(\) function
#### <code>glm.<code>**vec4_to_quat**(**vec4**) -\> *quat*</code></code>
&emsp;&emsp;Component wise conversion of vec4 to quat\.

### xor\(\) function
#### <code>glm.<code>**xor**(**a**, **b**) -\> *Any*</code></code>
&emsp;&emsp;Equivalent to ``` a ^ b ```\.
Expand Down
10 changes: 10 additions & 0 deletions wiki/function-reference/other/other.sb
Original file line number Diff line number Diff line change
Expand Up @@ -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\
Expand Down Expand Up @@ -69,6 +71,10 @@ PyGLM's custom functions.
\raw\#### <code>glm.<code>**pos**(**a**) -\\> *Any*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Equivalent to \code\+a\code\.

\h3\quat_to_vec4() function\h3\
\raw\#### <code>glm.<code>**quat_to_vec4**(**quat**) -\\> *vec4*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Component wise conversion of quat to vec4.

\h3\rshift() function\h3\
\raw\#### <code>glm.<code>**rshift**(**a**, **b**) -\\> *Any*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Equivalent to \code\a >> b\code\.
Expand All @@ -81,6 +87,10 @@ PyGLM's custom functions.
\raw\#### <code>glm.<code>**sub**(**a**, **b**) -\\> *Any*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Equivalent to \code\a - b\code\.

\h3\vec4_to_quat() function\h3\
\raw\#### <code>glm.<code>**vec4_to_quat**(**vec4**) -\\> *quat*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Component wise conversion of vec4 to quat.

\h3\xor() function\h3\
\raw\#### <code>glm.<code>**xor**(**a**, **b**) -\\> *Any*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Equivalent to \code\a ^ b\code\.
Expand Down

0 comments on commit d715619

Please sign in to comment.