It took me a few hours.
Write a rotation matrix.
But it has a few hundred lines of code.
I want to get him out of it.
From the main program of the Allegro.
I exploded my head:-X
-------------------------------
Pointer? Or something else?
It sounds like you want to move a large piece of code from main() to a function.
But you didn't say what is your problem.
And without posting code.