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

NAME

6       quat_mul   -  Multiplies  two  quaternions.  Allegro  game  programming
7       library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void quat_mul(const QUAT *p, const QUAT *q, QUAT *out);
14

DESCRIPTION

16       Multiplies two quaternions, storing the result in  out.  The  resulting
17       quaternion will have the same effect as the combination of p and q, ie.
18       when applied to a point, (point * out) = ((point * p) * q). Any  number
19       of rotations can be concatenated in this way. Note that quaternion mul‐
20       tiplication is not commutative, ie. quat_mul(p, q) != quat_mul(q, p).
21
22
23
24
25Allegro                          version 4.2.2                     quat_mul(3)
Impressum