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

DP QC SINCOSSQRTPOW

From Quake Wiki

Revision as of 01:17, 25 March 2013 by Hectate (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Builtin definitions:

float(float val) sin = #60;
float(float val) cos = #61;
float(float val) sqrt = #62;
float(float a, float b) pow = #97;

Useful math functions, sine of val, cosine of val, square root of val, and raise a to power b, respectively.