Rechercher une page de manuel
quat_mul
Langue: en
Version: version 4.2.2 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
quat_mul - Multiplies two quaternions. Allegro game programming library.SYNOPSIS
#include <allegro.h>void quat_mul(const QUAT *p, const QUAT *q, QUAT *out);
DESCRIPTION
Multiplies two quaternions, storing the result in out. The resulting quaternion will have the same effect as the combination of p and q, ie. when applied to a point, (point * out) = ((point * p) * q). Any number of rotations can be concatenated in this way. Note that quaternion multiplication is not commutative, ie. quat_mul(p, q) != quat_mul(q, p).Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre