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 16:32, 28 February 2008 by KrimZon (talk | contribs) (New page: Builtin definitions: <pre> float(float val) sin = #60; float(float val) cos = #61; float(float val) sqrt = #62; float(float a, float b) pow = #97; </pre> Useful math functions, sine of va...)
(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.