1quat_slerp(3)                   Allegro manual                   quat_slerp(3)
2
3
4

NAME

6       quat_slerp  -  Version  of quat_interpolate() allowing control over the
7       rotation. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void quat_slerp(const QUAT *from, const QUAT *to, float t,  QUAT  *out,
14       int how);
15

DESCRIPTION

17       The  same  as  quat_interpolate(), but allows more control over how the
18       rotation is done. The how parameter can be any one of the values:
19
20          QUAT_SHORT  - like quat_interpolate(), use shortest path
21          QUAT_LONG   - rotation will be greater than 180 degrees
22          QUAT_CW     - rotate clockwise when viewed from above
23          QUAT_CCW    - rotate counterclockwise when viewed from above
24          QUAT_USER   - the quaternions are interpolated exactly as
25                        given
26
27
28
29
30
31
32Allegro                          version 4.2.2                   quat_slerp(3)
Impressum