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

Difference between revisions of "DP QC SINCOSSQRTPOW"

From Quake Wiki

(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...)
 
 
Line 8: Line 8:
  
 
Useful math functions, sine of val, cosine of val, square root of val, and raise a to power b, respectively.
 
Useful math functions, sine of val, cosine of val, square root of val, and raise a to power b, respectively.
 +
[[Category:DarkPlaces]]

Latest revision as of 02:17, 25 March 2013

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.