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

Difference between revisions of "vectoyaw"

From Quake Wiki

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

Revision as of 01:07, 25 March 2013

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