From Quake Wiki
void makevectors(vector angles)
Creates relative forward, right and up vectors with length 1 from angles. These 3 directional vectors are stored in the global variables
Note that because these are global variables, running makevectors on another set of angles will destroy the previously calculated vectors.
angles- The angles that will be used to generate the vectors