2002-08-15 06:56:37 +00:00
|
|
|
#ifndef __math_h
|
|
|
|
#define __math_h
|
|
|
|
|
|
|
|
@extern vector v_forward, v_up, v_right;
|
|
|
|
|
2002-08-15 07:05:17 +00:00
|
|
|
@extern void (vector ang) makevectors;
|
2002-08-15 06:56:37 +00:00
|
|
|
@extern float () random;
|
|
|
|
@extern integer (float f) ftoi;
|
|
|
|
@extern float (integer i) itof;
|
|
|
|
@extern vector (vector v) normalize;
|
|
|
|
@extern float (vector v) vlen;
|
|
|
|
@extern float (vector v) vectoyaw;
|
|
|
|
@extern float (float v) rint;
|
|
|
|
@extern float (float v) floor;
|
|
|
|
@extern float (float v) ceil;
|
|
|
|
@extern float (float f) fabs;
|
|
|
|
@extern vector (vector v) vectoangles;
|
|
|
|
|
|
|
|
#endif//__math_h
|