Xonotic
|
#include "calculations.qh"
Go to the source code of this file.
Functions | |
vector | cliptoplane (vector v, vector p) |
vector | damage_explosion_calcpush (vector explosion_f, vector target_v, float speedfactor) |
float | explosion_calcpush_getmultiplier (vector explosion_v, vector target_v) |
vector | findperpendicular (vector v) |
vector | solve_cubic_abcd (float a, float b, float c, float d) |
vector | solve_cubic_pq (float p, float q) |
vector | W_CalculateSpread (vector forward, float spread, float spreadfactor, float spreadstyle) |
int | W_GunAlign (entity this, int preferred_align) |
Definition at line 75 of file calculations.qc.
Referenced by findperpendicular(), and W_CalculateSpread().
Definition at line 45 of file calculations.qc.
References explosion_calcpush_getmultiplier(), LOG_INFOF, v, and vector().
Referenced by Damage(), and MUTATOR_HOOKFUNCTION().
Definition at line 7 of file calculations.qc.
References explosion_calcpush_getmultiplier(), and vector().
Referenced by damage_explosion_calcpush(), and explosion_calcpush_getmultiplier().
Definition at line 132 of file calculations.qc.
References BIT, cliptoplane(), entity(), MAX_WEAPONSLOTS, normalize(), owner, vec3, W_GunAlign(), and weaponentities.
Referenced by W_CalculateSpread().
Definition at line 117 of file calculations.qc.
References solve_cubic_pq(), v, and vector().
Referenced by W_CalculateSpread().
Definition at line 80 of file calculations.qc.
References cbrt(), cos(), M_PI, sqrt(), v, and vec3.
Referenced by solve_cubic_abcd().
Definition at line 187 of file calculations.qc.
References cliptoplane(), cos(), cross, error(), findperpendicular(), gsl_ran_gaussian(), M_PI, normalize(), random(), randomvec(), sin(), solve_cubic_abcd(), sqrt(), and vector().
Referenced by W_SetupProjVelocity_Explicit().
Definition at line 169 of file calculations.qc.
References entity().
Referenced by findperpendicular(), FireGrapplingHook(), GrapplingHookThink(), W_Model(), and W_ResetGunAlign().