quakeforge/ruamoko/lib/math.r

16 lines
417 B
R

#include "math.h"
vector v_forward, v_up, v_right;
void (entity e) makevectors = #1;
float () random = #7;
integer (float f) ftoi = #110;
float (integer i) itof = #111;
vector (vector v) normalize = #9;
float (vector v) vlen = #12;
float (vector v) vectoyaw = #13;
float (float v) rint = #36;
float (float v) floor = #37;
float (float v) ceil = #38;
float (float f) fabs = #43;
vector (vector v) vectoangles = #51;