qscale_matrix(3)
๐ qscale_matrix(3) ๐
okay so bestie, this page is from the Allegro manual and it's literally about two functions that are so iconic for matrix scaling. let's get into it โจ
๐ธ NAME ๐ธ
qscale_matrix, qscale_matrix_f โ optimised routine for scaling an already generated matrix. this is part of the Allegro game programming library ๐ฎ
โจ SYNOPSIS โจ
#include <allegro.h>
void qscale_matrix(MATRIX *m, fixed scale);
void qscale_matrix_f(MATRIX_f *m, float scale);
๐ DESCRIPTION ๐
okay so listen, this is the optimised routine for scaling an already generated matrix. the way it works is it simply adds in the scale factor, so there is no need to build two temporary matrices and then multiply them together. like, it's giving efficiency, no cap. ๐ โจ
๐ฆ SEE ALSO ๐ฆ
Allegro version 4.4.3, manual page qscale_matrix(3) โ no date on this one bestie, but it's still iconic fr fr ๐๐ซถ
๐ฆ 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