quat_slerp(3alleg4)
β¨ NAME β¨
okay bestie, welcome to quat_slerp(3alleg4) from the Allegro manual β it's giving Allegro game programming library energy, and this page is literally about quat_slerp.
quat_slerp β a version of quat_interpolate() that lets you control the rotation. Part of the Allegro game programming library.
π¦ SYNOPSIS π¦
#include <allegro.h>
void quat_slerp(const QUAT *from, const QUAT *to, float t, QUAT *out,
int how);
π DESCRIPTION π
It's the same as quat_interpolate(), but with extra control over how the rotation is done. The how parameter can be any one of these values:
QUAT_SHORTβ likequat_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.
mwah π that's the whole page, bestie β Allegro manual, version 4.4.3, page quat_slerp(3alleg4). That's the footer energy, periodt. πβ¨
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms