Makevectors

From Quake Wiki

void makevectors(vector angles)

angle = 'pitch yaw 0'

Calculate the vectors pointing forward, right and up, according to the provided angles. Returns result in the global variables:

vector	v_forward;  // points forward
vector  v_up;       // points up
vector  v_right;    // points toward the right