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

FreeBSD Manual Pages

  
 
  

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

NAME
       quat_interpolate	 - Constructs a	quaternion representing	a rotation be-
       tween from and to. Allegro game programming library.

SYNOPSIS
       #include	<allegro.h>

       void quat_interpolate(const QUAT	*from, const QUAT *to, float  t,  QUAT
       *out);

DESCRIPTION
       Constructs a quaternion that represents a rotation between from and to.
       The argument t can be anything between 0	and 1 and represents where be-
       tween from and to the result will be. 0 returns from, 1 returns to, and
       0.5 will	return a rotation exactly in between. The result is copied  to
       out.  This  function  will create the short rotation (less than 180 de-
       grees) between from and to.

SEE ALSO
       exquat(3)

Allegro				 version 4.4.2		   quat_interpolate(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

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

home | help