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

vectoyaw

From Quake Wiki

Revision as of 01:07, 25 March 2013 by Necros (talk | contribs) (Created page with "====Syntax:==== <code>float vectoyaw(vector vec)</code> Converts a directional vector into a yaw angle (only the _y component of an angles set) ====Parameters:==== :<code>vec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax:

float vectoyaw(vector vec)

Converts a directional vector into a yaw angle (only the _y component of an angles set)

Parameters:

vec - The vector to convert

Returns:

The yaw angle equivalent of the vector