get_rotation_quat(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

πŸ’– 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