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

Difference between revisions of "Makevectors"

From Quake Wiki

(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...)
 
(No difference)

Latest revision as of 20:31, 23 February 2008

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