1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
[//]: # (generated using SlashBack 0.2.0)
# quaternion\_trigonometric methods
The following methods are all part of the **quaternion\_trigonometric methods**\.
Provides trigonometric functions for quaternion types\.
## Table of contents
* [**angle** function](#angle-function)
* [**angleAxis** function](#angleaxis-function)
* [**axis** function](#axis-function)
### angle\(\) function
#### <code>glm.<code>**angle**(**x**: *quat*) -\> *float*</code></code>
  Returns the quaternion rotation angle\.
### angleAxis\(\) function
#### <code>glm.<code>**angleAxis**(**angle**: *float*, **axis**: *vec3*) -\> *quat*</code></code>
  Build a quaternion from an angle and a normalized axis\.
### axis\(\) function
#### <code>glm.<code>**axis**(**x**: *quat*) -\> *vec3*</code></code>
  Returns the ``` q ``` rotation axis\.
|