|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Macros | |
| #define | M_PI 3.14159265358979323846 /* pi */ |
Variables | |
| const int | FP_INFINITE = 1 |
| const int | FP_NAN = 0 |
| const int | FP_NORMAL = 4 |
| const int | FP_SUBNORMAL = 3 |
| const int | FP_ZERO = 2 |
| const float | M_1_PI = 0.31830988618379067154 |
| const float | M_2_PI = 0.63661977236758134308 |
| const float | M_2_SQRTPI = 1.12837916709551257390 |
| const float | M_E = 2.7182818284590452354 |
| const float | M_LN10 = 2.30258509299404568402 |
| const float | M_LN2 = 0.69314718055994530942 |
| const float | M_LOG10E = 0.43429448190325182765 |
| const float | M_LOG2E = 1.4426950408889634074 |
| const float | M_PI_2 = 1.57079632679489661923 |
| const float | M_PI_4 = 0.78539816339744830962 |
| const float | M_SQRT1_2 = 0.70710678118654752440 |
| const float | M_SQRT2 = 1.41421356237309504880 |
| #define M_PI 3.14159265358979323846 /* pi */ |
Definition at line 108 of file mathlib.qh.
Referenced by anticheat_physics(), blink_synced(), Button_draw(), colormapPaletteColor_(), Cosine_Interpolate(), CSQCPlayer_ApplyBobbing(), decompressShortVector(), Draw_WaypointSprite(), DrawAmmoNades(), DrawCircleClippedPic(), GameCommand_trace(), GetCurrentFov(), GetOrthoviewFOV(), GetViewLocationFOV(), gsl_ran_ugaussian(), HUD_Damage(), HUD_Get_Num_Color(), HUD_Mod_KH(), HUD_StrafeHUD(), lgamma(), movement_oddity(), nade_darkness_think(), nade_ice_think(), ons_Teleport(), pong_ball_throw(), pong_paddle_bounce(), prandom(), Rotate(), Scoreboard_DrawItem(), Scoreboard_DrawOthers(), Scoreboard_GetName(), smneg_multiplier(), solve_cubic_pq(), spawnfunc(), turret_draw2d(), W_CalculateSpread(), and waypoint_getSymmetricalPoint().
Definition at line 57 of file mathlib.qc.
References log().
Definition at line 133 of file mathlib.qc.
References copysign(), fabs(), and pow.
Referenced by solve_cubic_pq().
Definition at line 226 of file mathlib.qc.
References fabs().
Referenced by AdjustAirAccelQW(), cbrt(), erf(), lgamma(), target_speed_calculatevelocity(), and trigger_push_velocity_calculatevelocity().
Definition at line 142 of file mathlib.qc.
References copysign(), exp(), and sqrt().
Referenced by erfc().
Definition at line 149 of file mathlib.qc.
References erf().
Definition at line 74 of file mathlib.qc.
Referenced by anticheat_physics(), bobmodel_ofs(), cosh(), erf(), expm1(), fromDecibelOfSquare(), GenericCommand_rpn(), GetCurrentFov(), ListBox_draw(), nade_darkness_think(), nade_ice_think(), sinh(), tgamma(), and toDecibelOfSquare().
Definition at line 273 of file mathlib.qc.
Definition at line 209 of file mathlib.qc.
References trunc().
Referenced by CSQCModel_Effects_Apply().
Definition at line 7 of file mathlib.qc.
References FP_INFINITE, FP_NAN, FP_NORMAL, FP_ZERO, isinf(), and isnan().
Definition at line 87 of file mathlib.qc.
Definition at line 17 of file mathlib.qc.
References isinf(), and isnan().
Referenced by isnormal(), and lgamma().
Definition at line 278 of file mathlib.qc.
Definition at line 282 of file mathlib.qc.
Definition at line 21 of file mathlib.qc.
Referenced by fpclassify(), and isfinite().
Definition at line 286 of file mathlib.qc.
Definition at line 290 of file mathlib.qc.
Definition at line 294 of file mathlib.qc.
Definition at line 25 of file mathlib.qc.
Referenced by fpclassify(), is_all_nans(), isfinite(), PlayerJump(), and StrafeHUD_DetermineHudAngle().
Definition at line 40 of file mathlib.qc.
References isfinite().
Definition at line 298 of file mathlib.qc.
Definition at line 153 of file mathlib.qc.
References copysign(), fabs(), floor(), isfinite(), lgamma(), log(), M_PI, nan(), sin(), and vector.
Definition at line 107 of file mathlib.qc.
Definition at line 115 of file mathlib.qc.
Definition at line 103 of file mathlib.qc.
References log().
Referenced by buff_Inferno_CalculateTime().
Definition at line 231 of file mathlib.qc.
References sqrt().
Referenced by lgamma(), and nextafter().
Definition at line 235 of file mathlib.qc.
References fabs(), max(), nan(), and nextafter().
Referenced by nextafter(), and nexttoward().
Definition at line 256 of file mathlib.qc.
References nextafter().
Pythonic mod: TODO: %% operator?
1 % 2 == 1 -1 % 2 == 1 1 % -2 == -1 -1 % -2 == -1
Definition at line 195 of file mathlib.qc.
References floor().
Referenced by PRECACHE(), and tubasound().
Definition at line 213 of file mathlib.qc.
References rint().
Referenced by func_pendulum_controller_think(), and IsMoveInDirection().
Definition at line 44 of file mathlib.qc.
Referenced by trigger_push_velocity_calculatevelocity().
Definition at line 69 of file mathlib.qc.
References cosh(), and sinh().
Referenced by ctf_CalculatePassVelocity().
| const int FP_INFINITE = 1 |
Definition at line 9 of file mathlib.qh.
Referenced by fpclassify().
| const int FP_NAN = 0 |
Definition at line 8 of file mathlib.qh.
Referenced by fpclassify().
| const int FP_NORMAL = 4 |
Definition at line 12 of file mathlib.qh.
Referenced by fpclassify().
| const int FP_SUBNORMAL = 3 |
Definition at line 11 of file mathlib.qh.
| const int FP_ZERO = 2 |
Definition at line 10 of file mathlib.qh.
Referenced by fpclassify().
| const float M_1_PI = 0.31830988618379067154 |
Definition at line 111 of file mathlib.qh.
| const float M_2_PI = 0.63661977236758134308 |
Definition at line 112 of file mathlib.qh.
| const float M_2_SQRTPI = 1.12837916709551257390 |
Definition at line 113 of file mathlib.qh.
| const float M_E = 2.7182818284590452354 |
Definition at line 102 of file mathlib.qh.
Referenced by colormapPaletteColor_(), and exp().
| const float M_LN10 = 2.30258509299404568402 |
Definition at line 106 of file mathlib.qh.
| const float M_LN2 = 0.69314718055994530942 |
Definition at line 105 of file mathlib.qh.
| const float M_LOG10E = 0.43429448190325182765 |
Definition at line 104 of file mathlib.qh.
Referenced by log10().
| const float M_LOG2E = 1.4426950408889634074 |
Definition at line 103 of file mathlib.qh.
Referenced by log2().
| const float M_PI_2 = 1.57079632679489661923 |
Definition at line 109 of file mathlib.qh.
Referenced by decompressShortVector(), HUD_Physics(), StrafeHUD_DrawTextIndicator(), and tubasound().
| const float M_PI_4 = 0.78539816339744830962 |
Definition at line 110 of file mathlib.qh.
| const float M_SQRT1_2 = 0.70710678118654752440 |
Definition at line 115 of file mathlib.qh.
Referenced by MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().
| const float M_SQRT2 = 1.41421356237309504880 |
Definition at line 114 of file mathlib.qh.
Referenced by drawspritearrow(), and havocbot_movetogoal().