GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  QUAT_SLERP (3)

NAME

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

CONTENTS

Synopsis
Description

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 rotation 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
  

Search for    or go to Top of page |  Section 3 |  Main Index


Allegro QUAT_SLERP (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.