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

FreeBSD Manual Pages

  
 
  

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

NAME
     quat_slerp  - Version of quat_interpolate() allowing control over the rota-
     tion. Allegro game programming library.

SYNOPSIS
     #include <allegro.h>

     void quat_slerp(const QUAT *from, const QUAT *to, float t, QUAT  *out,  int
     how);

DESCRIPTION
     The  same as quat_interpolate(), but allows more control over how the rota-
     tion is done. The how parameter can be any one of the values:

	QUAT_SHORT  - like quat_interpolate(), use shortest path
	QUAT_LONG   - rotation will be greater than 180 degrees
	QUAT_CW     - rotate clockwise when viewed from above
	QUAT_CCW    - rotate counterclockwise when viewed from above
	QUAT_USER   - the quaternions are interpolated exactly as
		      given

Allegro 			  version 4.4.3 		   quat_slerp(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=quat_slerp&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help