File: quaternion_trigonometric.sb

package info (click to toggle)
python-pyglm 2.8.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,008 kB
  • sloc: cpp: 53,029; python: 3,683; makefile: 7
file content (22 lines) | stat: -rw-r--r-- 969 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
\c\This file was generated using a tool\c\
\h1\quaternion_trigonometric methods\h1\
The following methods are all part of the \b\quaternion_trigonometric methods\b\.
Provides trigonometric functions for quaternion types.
\h2\Table of contents\h2\
\ul\
\-\\url #angle-function\\b\angle\b\ function\url\
\-\\url #angleaxis-function\\b\angleAxis\b\ function\url\
\-\\url #axis-function\\b\axis\b\ function\url\
\ul\
\h3\angle() function\h3\
\raw\#### <code>glm.<code>**angle**(**x**: *quat*) -\\> *float*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns the quaternion rotation angle.

\h3\angleAxis() function\h3\
\raw\#### <code>glm.<code>**angleAxis**(**angle**: *float*, **axis**: *vec3*) -\\> *quat*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Build a quaternion from an angle and a normalized axis.

\h3\axis() function\h3\
\raw\#### <code>glm.<code>**axis**(**x**: *quat*) -\\> *vec3*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns the \code\q\code\ rotation axis.