get_rotation_quat(3)
π get_rotation_quat(3) π
okay so you're in the Allegro manual, bestie, and we're talking about one very specific little function. no cap, it's giving math but make it cute. β¨
πΈ NAME πΈ
get_rotation_quatβ constructs a quaternion to rotate points around all three axes. Allegro game programming library, hiii. π
π SYNOPSIS π
#include <allegro.h>
void get_rotation_quat(QUAT *q, float x, float y, float z);
π¦ DESCRIPTION π¦
so basically, this function constructs a quaternion that will rotate points around all three axes by the specified amounts. all three axes, not just one, not just two β the whole vibe. π
the amounts are given in binary, 256 degrees to a circle format. yes, that exact format. write it down, bestie. π
π SEE ALSO π
made with π from the Allegro manual, version 4.4.3, page get_rotation_quat(3). periodt. π«Ά
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms