Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
quat_mul(3)			Allegro	manual			   quat_mul(3)

NAME
       quat_mul	 -  Multiplies	two  quaternions. Allegro game programming li-
       brary.

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 mul-
       tiplication is not commutative, ie. quat_mul(p, q) != quat_mul(q, p).

Allegro				 version 4.4.2			   quat_mul(3)

NAME | SYNOPSIS | DESCRIPTION

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=quat_mul&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help