Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Makevectors

From Quake Wiki

Revision as of 20:31, 23 February 2008 by 129.13.186.4 (talk) (New page: 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 '''glo...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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