al_transform_coordinates_4d(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

al_transform_coordinates_4d β€” the Allegro 5 API function that yeets your 4D point through a transform πŸ’… (and yes bestie, this page is from the Allegro reference manual, we love a source πŸ’–)


🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

void al_transform_coordinates_4d(const ALLEGRO_TRANSFORM *trans,
   float *x, float *y, float *z, float *w)

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so basically: it transforms your x, y, z, w coordinates. That's the whole vibe. Four dimensions, one function call, no notes. ✨

Parameters:

  • trans β€” the transformation to use πŸŽ€
  • x, y, z, w β€” pointers to the coordinates πŸ‘‘
heads up bestie, they're pointers β€” so this function is reaching into your actual variables and rewriting them in place. main character energy fr fr. πŸ’…

Since 5.2.4 β€” so it's been iconic for a minute, iykyk 🌈


πŸ’œ SEE ALSO πŸ’œ


and that's the whole page bestie, no cap 🫢 this was pulled straight from the Allegro reference manual, page al_transform_coordinates_4d(3alleg5) β€” go transform something 4D, you absolute legend πŸŒŸπŸ’–πŸŽ€

πŸ“¦ where this page comes from