Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
vector.qh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ClipVelocity(in, normal, out, overbounce)
#define cross(a, b)
#define dotproduct(a, b)
#define PFLOAT   (1/1024)
#define PITCH(v)
#define pointinsidebox(point, bmins, bmaxs)
#define ROLL(v)
#define RPFLOAT(a)
#define vdist(v, cmp, f)
 Vector distance comparison, avoids sqrt()
#define vec2(...)
#define vec2_1(v)
#define vec2_2(x, y)
#define vec3(_x, _y, _z)
#define VEC_NAN   vec3(FLOAT_NAN, FLOAT_NAN, FLOAT_NAN);
#define vlen2(v)
#define vmul(a, b)
#define YAW(v)
#define yinvert(v)

Functions

ERASEABLE float boxesoverlap (vector m1, vector m2, vector m3, vector m4)
 requires that m2>m1 in all coordinates, and that m4>m3
ERASEABLE float boxinsidebox (vector smins, vector smaxs, vector bmins, vector bmaxs)
 requires the same as boxesoverlap, but is a stronger condition
ERASEABLE vector get_corner_position (entity box, int corner)
ERASEABLE bool is_all_nans (vector v)
ERASEABLE vector NearestPointOnBoundingBox (vector mi, vector ma, vector org)
ERASEABLE vector NearestPointOnBox (entity box, vector org)
ERASEABLE vector point_line_vec (vector p, vector l0, vector ldir)
ERASEABLE vector randompos (vector m1, vector m2)
ERASEABLE vector reflect (vector dir, vector norm)
ERASEABLE vector Rotate (vector v, float a)
ERASEABLE vector RoundPerfectVector (vector v)
ERASEABLE vector vec_epsilon (vector this, float eps)
ERASEABLE vector vec_reflect (vector vel, vector norm, float bounce)
 clip vel along the plane defined by norm (assuming 0 distance away), bounciness determined by bounce 0..1
ERASEABLE float vlen_maxnorm2d (vector v)
ERASEABLE float vlen_minnorm2d (vector v)
ERASEABLE vector vrint (vector v)

Variables

noref vector _vec2
noref vector _vec3
noref vector _vlen2
noref vector _vmul_a
noref vector _vmul_b
noref vector _yinvert
const vector eX = '1 0 0'
const vector eY = '0 1 0'
const vector eZ = '0 0 1'

Macro Definition Documentation

◆ ClipVelocity

#define ClipVelocity ( in,
normal,
out,
overbounce )
Value:
(out = vec_epsilon(vec_reflect(in, normal, (overbounce) - 1), 0.1))
ERASEABLE vector vec_epsilon(vector this, float eps)
Definition vector.qh:148
ERASEABLE vector vec_reflect(vector vel, vector norm, float bounce)
clip vel along the plane defined by norm (assuming 0 distance away), bounciness determined by bounce ...
Definition vector.qh:142

Definition at line 156 of file vector.qh.

156#define ClipVelocity(in, normal, out, overbounce) \
157 (out = vec_epsilon(vec_reflect(in, normal, (overbounce) - 1), 0.1))

Referenced by sys_phys_simulate_simple().

◆ cross

#define cross ( a,
b )

◆ dotproduct

#define dotproduct ( a,
b )
Value:
((a) * (b))

Definition at line 14 of file vector.qh.

◆ PFLOAT

#define PFLOAT   (1/1024)

Definition at line 203 of file vector.qh.

◆ PITCH

#define PITCH ( v)
Value:
((v).x)

Definition at line 81 of file vector.qh.

Referenced by leanmodel_ofs().

◆ pointinsidebox

#define pointinsidebox ( point,
bmins,
bmaxs )
Value:
boxinsidebox(point, point, bmins, bmaxs)
ERASEABLE float boxinsidebox(vector smins, vector smaxs, vector bmins, vector bmaxs)
requires the same as boxesoverlap, but is a stronger condition
Definition vector.qh:77

Definition at line 79 of file vector.qh.

Referenced by HUD_Crosshair().

◆ ROLL

#define ROLL ( v)
Value:
((v).z)

Definition at line 83 of file vector.qh.

Referenced by leanmodel_ofs().

◆ RPFLOAT

#define RPFLOAT ( a)
Value:
float rint(float f)
#define PFLOAT
Definition vector.qh:203

Definition at line 204 of file vector.qh.

Referenced by RoundPerfectVector().

◆ vdist

#define vdist ( v,
cmp,
f )
Value:
(vlen2(v) cmp ((f) ** 2))
#define vlen2(v)
Definition vector.qh:4

Vector distance comparison, avoids sqrt()

Definition at line 8 of file vector.qh.

Referenced by _Movetype_Physics_Walk(), animdecide_setimplicitstate(), bot_aimdir(), botframe_showwaypointlinks(), buildpath_nodefilter_directional(), bumblebee_exit(), Casing_Touch(), CreatureFrame_FallDamage(), CSQC_Demo_Camera(), CSQCPlayer_SetPredictionError(), ctf_FlagThink(), Drag(), Drag_Finish(), Draw_ArcBeam(), Draw_GrapplingHook(), Draw_ShowNames(), fireBullet_falloff(), fireBullet_trace_callback(), GENERIC_COMMAND(), havocbot_ai(), havocbot_bunnyhop(), havocbot_chooseenemy(), havocbot_ctf_teamcount(), havocbot_goalrating_controlpoints(), havocbot_goalrating_ctf_droppedflags(), havocbot_goalrating_enemyplayers(), havocbot_goalrating_ft_freeplayers(), havocbot_goalrating_items(), havocbot_goalrating_ons_controlpoints_attack(), havocbot_goalrating_ons_generator_attack(), havocbot_goalrating_waypoints(), havocbot_movetogoal(), havocbot_role_ctf_carrier(), havocbot_role_ctf_defense(), havocbot_role_ctf_escort(), havocbot_role_ctf_middle(), havocbot_role_ctf_offense(), havocbot_role_ctf_retriever(), havocbot_role_cts(), havocbot_role_race(), HUD_Crosshair(), InterpolateOrigin_Note(), ItemDraw(), kh_Key_Think(), LOD_customize(), M_Golem_Attack(), M_Mage_Attack_Spike_Think(), M_Mage_Attack_Teleport(), M_Spider_Attack(), m_tooltip(), Monster_Attack_Check(), Monster_Enemy_Check(), Monster_Move(), Monster_Move_2D(), Monster_Move_Target(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), navigation_get_really_close_waypoint(), navigation_goalrating_timeout_can_be_anticipated(), navigation_poptouchedgoals(), navigation_routerating(), navigation_routetogoal(), navigation_shortenpath(), navigation_waypoint_will_link(), NET_HANDLE(), NET_HANDLE(), ons_ControlPoint_Icon_Damage(), ons_ControlPoint_Icon_Think(), ons_Nearest_ControlPoint(), pathlib_close_node(), pathlib_nodeatpoint(), PM_dodging_checkpressedkeys(), PM_Footsteps(), pong_paddle_hit(), race_SpeedAwardFrame(), racer_exit(), racer_rocket_tracker(), raptor_bomb_burst(), raptor_exit(), ResetBall(), sandbox_ObjectEdit_Get(), Spawn_Draw(), spiderbot_exit(), spiderbot_rocket_unguided(), steerlib_wander(), trigger_magicear_processmessage(), trigger_push_test(), trigger_push_testorigin(), TrueAimCheck(), turret_flac_projectile_think_explode(), turret_fusionreactor_firecheck(), turret_hellion_missile_think(), turret_hk_missile_think(), turret_initialize(), turret_targetscore_generic(), turret_validate_target(), vehicles_impact(), vehicles_touch(), View_Ortho(), W_Devastator_DoRemoteExplode(), W_Devastator_RemoteExplode(), W_Electro_TriggerCombo(), W_Fireball_Firemine_Think(), W_Porto_Fail(), W_Seeker_Missile_Think(), W_SetupShot_Dir_ProjectileSize_Range(), walker_rocket_loop2(), walker_rocket_loop3(), WarpZone_Camera_camera_transform(), WarpZone_camera_transform(), WarpZone_InitStep_UpdateTransform(), waypoint_load_hardwiredlinks(), waypoint_load_links(), waypoint_schedulerelink(), waypoint_spawn_fromeditor(), waypoint_spawnforitem_force(), and waypoint_think().

◆ vec2

#define vec2 ( ...)
Value:
EVAL(OVERLOAD(vec2, __VA_ARGS__))
#define OVERLOAD(F,...)
Definition misc.qh:12
#define EVAL(...)
Definition misc.qh:4
#define vec2(...)
Definition vector.qh:90

Definition at line 90 of file vector.qh.

Referenced by bobmodel_ofs(), botframe_showwaypointlinks(), box_nearest(), CursorToWorldCoord(), determine_force(), draw_cursor(), Draw_ShowNames(), DrawAmmoNades(), DrawCAItem(), DrawDomItem(), DrawItemsTimeItem(), havocbot_bunnyhop(), havocbot_checkgoaldistance(), havocbot_goalrating_enemyplayers(), havocbot_movetogoal(), HUD_Ammo(), HUD_CenterPrint(), HUD_Configure_DrawGrid(), HUD_Contents(), HUD_Damage(), HUD_DarkBlinking(), HUD_Draw(), HUD_GetTableSize_BestItemAR(), HUD_HealthArmor(), HUD_ItemsTime(), HUD_Mod_CA_Draw(), HUD_Mod_Dom(), HUD_Mod_Keepaway(), HUD_Mod_KH(), HUD_Mod_LMS_Draw(), HUD_Mod_Race(), HUD_Mod_Survival(), HUD_Mod_TeamKeepaway(), HUD_Notify(), HUD_Panel_HlBorder(), HUD_Panel_HlCenterLine(), HUD_Physics(), HUD_Pickup(), HUD_Powerups(), HUD_PressedKeys(), HUD_QuickMenu(), HUD_Quickmenu_DrawEntry(), HUD_RaceTimer(), HUD_Radar(), HUD_Score(), HUD_Score_Rankings(), HUD_StrafeHUD(), HUD_Timer(), HUD_Vote(), MapVote_Draw(), minigame_tile_pos(), monster_facing(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), navigation_checkladders(), navigation_poptouchedgoals(), navigation_routetogoal(), ons_camSetup(), orb_draw2d(), PM_Accelerate(), pong_server_event(), pong_team_to_box_halfsize(), PutObserverInServer(), QuickMenu_Mouse(), race_SendTime(), RaceCarPhysics(), Rotate(), Scoreboard_AccuracyStats_Draw(), Scoreboard_Draw(), Scoreboard_DrawItem(), Scoreboard_DrawOthers(), Scoreboard_ItemStats_Draw(), Scoreboard_MakeTable(), Scoreboard_Rankings_Draw(), set_tracewalk_dest(), sys_phys_simulate(), tracewalk(), trigger_push_test(), trigger_push_testorigin(), trigger_push_velocity_calculatevelocity(), waypoint_getSymmetricalOrigin_cmd(), waypoint_gettravelcost(), Weapons_Draw(), and XonoticTextBox_drawListBoxItem().

◆ vec2_1

#define vec2_1 ( v)
Value:
(_vec2 = (v), _vec2.z = 0, _vec2)
noref vector _vec2
Definition vector.qh:89

Definition at line 91 of file vector.qh.

◆ vec2_2

#define vec2_2 ( x,
y )
Value:
(_vec2_x = (x), _vec2_y = (y), _vec2)
v y
Definition ent_cs.qc:121

Definition at line 92 of file vector.qh.

◆ vec3

◆ VEC_NAN

#define VEC_NAN   vec3(FLOAT_NAN, FLOAT_NAN, FLOAT_NAN);

Definition at line 97 of file vector.qh.

◆ vlen2

◆ vmul

#define vmul ( a,
b )
Value:
(_vmul_a = (a), _vmul_b = (b), \
'1 0 0' * (_vmul_a.x * _vmul_b.x) \
+ '0 1 0' * (_vmul_a.y * _vmul_b.y) \
+ '0 0 1' * (_vmul_a.z * _vmul_b.z))
noref vector _vmul_a
Definition vector.qh:37
noref vector _vmul_b
Definition vector.qh:37

Definition at line 38 of file vector.qh.

38#define vmul(a, b) \
39 (_vmul_a = (a), _vmul_b = (b), \
40 '1 0 0' * (_vmul_a.x * _vmul_b.x) \
41 + '0 1 0' * (_vmul_a.y * _vmul_b.y) \
42 + '0 0 1' * (_vmul_a.z * _vmul_b.z))

◆ YAW

#define YAW ( v)
Value:
((v).y)

Definition at line 82 of file vector.qh.

Referenced by leanmodel_ofs().

◆ yinvert

#define yinvert ( v)
Value:
(_yinvert = (v), _yinvert.y = 1 - _yinvert.y, _yinvert)
noref vector _yinvert
Definition vector.qh:111

Definition at line 112 of file vector.qh.

Referenced by draw_teamradar_background().

Function Documentation

◆ boxesoverlap()

◆ boxinsidebox()

ERASEABLE float boxinsidebox ( vector smins,
vector smaxs,
vector bmins,
vector bmaxs )

requires the same as boxesoverlap, but is a stronger condition

Definition at line 77 of file vector.qh.

77{ return smins.x >= bmins.x && smaxs.x <= bmaxs.x && smins.y >= bmins.y && smaxs.y <= bmaxs.y && smins.z >= bmins.z && smaxs.z <= bmaxs.z; }

References vector.

◆ get_corner_position()

ERASEABLE vector get_corner_position ( entity box,
int corner )

Definition at line 161 of file vector.qh.

162 {
163 switch (corner)
164 {
165 case 1: return vec3(box.absmin.x, box.absmin.y, box.absmin.z);
166 case 2: return vec3(box.absmax.x, box.absmin.y, box.absmin.z);
167 case 3: return vec3(box.absmin.x, box.absmax.y, box.absmin.z);
168 case 4: return vec3(box.absmin.x, box.absmin.y, box.absmax.z);
169 case 5: return vec3(box.absmax.x, box.absmax.y, box.absmin.z);
170 case 6: return vec3(box.absmin.x, box.absmax.y, box.absmax.z);
171 case 7: return vec3(box.absmax.x, box.absmin.y, box.absmax.z);
172 case 8: return vec3(box.absmax.x, box.absmax.y, box.absmax.z);
173 default: return '0 0 0';
174 }
175 }
#define vec3(_x, _y, _z)
Definition vector.qh:95

References entity(), vec3, and vector.

◆ is_all_nans()

ERASEABLE bool is_all_nans ( vector v)

Definition at line 100 of file vector.qh.

100 {
101 return isnan(v.x) && isnan(v.y) && isnan(v.z);
102}
bool isnan(float e)
Definition mathlib.qc:25

References isnan(), and vector.

◆ NearestPointOnBoundingBox()

ERASEABLE vector NearestPointOnBoundingBox ( vector mi,
vector ma,
vector org )

Definition at line 191 of file vector.qh.

192{
193 return vec3(
194 bound(mi.x, org.x, ma.x),
195 bound(mi.y, org.y, ma.y),
196 bound(mi.z, org.z, ma.z)
197 );
198}
float bound(float min, float value, float max)
vector org
Definition self.qh:92

References bound(), org, vec3, and vector.

Referenced by RadiusDamageForSource().

◆ NearestPointOnBox()

ERASEABLE vector NearestPointOnBox ( entity box,
vector org )

Definition at line 178 of file vector.qh.

179 {
180 vector mi = box.mins + box.origin;
181 vector ma = box.maxs + box.origin;
182
183 return vec3(
184 bound(mi.x, org.x, ma.x),
185 bound(mi.y, org.y, ma.y),
186 bound(mi.z, org.z, ma.z)
187 );
188 }
vector
Definition self.qh:92

References bound(), entity(), org, vec3, and vector.

Referenced by CSQCModel_LOD_Apply(), LOD_customize(), NET_HANDLE(), and W_Devastator_RemoteExplode().

◆ point_line_vec()

ERASEABLE vector point_line_vec ( vector p,
vector l0,
vector ldir )
Parameters
[in]ppoint
[in]l0starting point of ldir
[in]ldirline
Returns
Vector starting from p perpendicular to ldir

Definition at line 119 of file vector.qh.

120{
121 ldir = normalize(ldir);
122 p = l0 - p;
123 // remove the component in line direction from p
124 return p - ((p * ldir) * ldir);
125}
vector normalize(vector v)

References normalize(), and vector.

Referenced by havocbot_movetogoal().

◆ randompos()

ERASEABLE vector randompos ( vector m1,
vector m2 )

Definition at line 49 of file vector.qh.

50{
51 vector v;
52 m2 = m2 - m1;
53 v_x = m2_x * random() + m1_x;
54 v_y = m2_y * random() + m1_y;
55 v_z = m2_z * random() + m1_z;
56 return v;
57}
float random(void)

References random(), and vector.

Referenced by generator_draw(), and ons_ControlPoint_Icon_Think().

◆ reflect()

ERASEABLE vector reflect ( vector dir,
vector norm )
Parameters
dirthe directional vector
normthe normalized normal
Returns
dir reflected by norm

Definition at line 133 of file vector.qh.

134{
135 return dir - 2 * (dir * norm) * norm;
136}
int dir
Definition impulse.qc:89

References dir, and vector.

Referenced by Porto_Draw().

◆ Rotate()

ERASEABLE vector Rotate ( vector v,
float a )

Definition at line 105 of file vector.qh.

106{
107 float a_sin = sin(a), a_cos = cos(a);
108 return vec2(v.x * a_cos + v.y * a_sin, -v.x * a_sin + v.y * a_cos);
109}
float cos(float f)
float sin(float f)

References cos(), sin(), vec2, and vector.

Referenced by drawhealthbar(), drawrotpic(), drawspritearrow(), HUD_Radar(), teamradar_2dcoord_to_texcoord(), teamradar_texcoord_to_2dcoord(), and waypoint_getSymmetricalPoint().

◆ RoundPerfectVector()

ERASEABLE vector RoundPerfectVector ( vector v)

Definition at line 206 of file vector.qh.

207{
208 RPFLOAT(v.x); RPFLOAT(v.y); RPFLOAT(v.z);
209 return v;
210}
#define RPFLOAT(a)
Definition vector.qh:204

References RPFLOAT, and vector.

Referenced by ApplyMinMaxScaleAngles(), Monster_Spawn(), and sandbox_ObjectEdit_Scale().

◆ vec_epsilon()

ERASEABLE vector vec_epsilon ( vector this,
float eps )

Definition at line 148 of file vector.qh.

149{
150 if (this.x > -eps && this.x < eps) this.x = 0;
151 if (this.y > -eps && this.y < eps) this.y = 0;
152 if (this.z > -eps && this.z < eps) this.z = 0;
153 return this;
154}

References vector, and y.

◆ vec_reflect()

ERASEABLE vector vec_reflect ( vector vel,
vector norm,
float bounce )

clip vel along the plane defined by norm (assuming 0 distance away), bounciness determined by bounce 0..1

Definition at line 142 of file vector.qh.

143{
144 return vel - (1 + bounce) * (vel * norm) * norm;
145}

References vector.

◆ vlen_maxnorm2d()

ERASEABLE float vlen_maxnorm2d ( vector v)

Definition at line 60 of file vector.qh.

61{
62 return max(v.x, v.y, -v.x, -v.y);
63}
float max(float f,...)

References max(), and vector.

Referenced by HUD_Radar().

◆ vlen_minnorm2d()

ERASEABLE float vlen_minnorm2d ( vector v)

Definition at line 66 of file vector.qh.

67{
68 return min(max(v.x, -v.x), max(v.y, -v.y));
69}
float min(float f,...)

References max(), min(), and vector.

Referenced by HUD_Radar().

◆ vrint()

ERASEABLE vector vrint ( vector v)

Definition at line 213 of file vector.qh.

214{
215 v.x = rint(v.x); v.y = rint(v.y); v.z = rint(v.z);
216 return v;
217}

References rint(), and vector.

Referenced by ctf_FlagSetup().

Variable Documentation

◆ _vec2

noref vector _vec2

Definition at line 89 of file vector.qh.

◆ _vec3

noref vector _vec3

Definition at line 94 of file vector.qh.

◆ _vlen2

noref vector _vlen2

Definition at line 3 of file vector.qh.

◆ _vmul_a

noref vector _vmul_a

Definition at line 37 of file vector.qh.

◆ _vmul_b

noref vector _vmul_b

Definition at line 37 of file vector.qh.

◆ _yinvert

noref vector _yinvert

Definition at line 111 of file vector.qh.

◆ eX

const vector eX = '1 0 0'

Definition at line 44 of file vector.qh.

Referenced by BorderImage_recalcPositionWithText(), Button_draw(), checkColorCode(), Checkpoints_drawstring(), crosshairpicker_crosshairToCell(), DemoConfirm_ListClick_Check_Gamestatus(), Dialog_addItemSimple(), Dialog_configureDialog(), Draw_ArcBeam(), draw_BorderPicture(), draw_ButtonPicture(), draw_CenterText(), draw_Picture_Aligned(), draw_setMousePointer(), Draw_ShowNames(), draw_VertButtonPicture(), DrawAmmoItem(), DrawAmmoNades(), DrawCAItem(), DrawDomItem(), DrawItemsTimeItem(), XonoticRegisteredSettingsList::drawListBoxItem(), DrawNadeProgressBar(), DrawNumIcon_expanding(), drawspritearrow(), GameTypeVote_DrawGameTypeItem(), hslimage_color(), HUD_CenterPrint(), HUD_Configure_DrawGrid(), HUD_GetTableSize_BestItemAR(), HUD_HealthArmor(), HUD_Main(), HUD_MinigameMenu(), HUD_MinigameMenu_MouseInput(), HUD_Mod_CTF(), HUD_Mod_Keepaway(), HUD_Mod_KH(), HUD_Mod_LMS_Draw(), HUD_Mod_NexBall(), HUD_Mod_TeamKeepaway(), HUD_Notify(), HUD_Panel_DrawHighlight(), HUD_Panel_DrawProgressBar(), HUD_Panel_Highlight(), HUD_Panel_HlBorder(), HUD_Physics(), HUD_PressedKeys(), HUD_Quickmenu_DrawEntry(), HUD_RaceTimer(), HUD_Score(), HUD_Score_Rankings(), HUD_Timer(), Image_updateAspect(), InfoMessages_drawstring(), InputBox_draw(), ListBox_draw(), ListBox_drawListBoxItem(), ListBox_mouseRelease(), m_draw(), m_init_delayed(), MainWindow_configureMainWindow(), MainWindow_draw(), MapVote_GridVec(), MapVote_Init(), preMenuDraw(), preMenuInit(), Scoreboard_AccuracyStats_Draw(), Scoreboard_Draw(), Scoreboard_DrawHeader(), Scoreboard_DrawItem(), Scoreboard_DrawOthers(), Scoreboard_ItemStats_Draw(), Scoreboard_MapStats_Draw(), Scoreboard_Rankings_Draw(), ServerList_Info_Click(), Slider_draw(), StrafeHUD_DrawAngleIndicatorArrow(), StrafeHUD_DrawAngleIndicatorLine(), StrafeHUD_DrawDirectionIndicator(), StrafeHUD_DrawGradient(), StrafeHUD_DrawSoftGradient(), StrafeHUD_DrawStrafeArrow(), StrafeHUD_DrawStrafeHUD(), UpdateConWidthHeight(), WarpZoneLib_MoveOutOfSolid(), XonoticCampaignList_drawListBoxItem(), XonoticCampaignList_resizeNotify(), XonoticCharmap_resizeNotify(), XonoticColorpickerString_loadCvars(), XonoticCreditsList_drawListBoxItem(), XonoticCvarList_drawListBoxItem(), XonoticDemoList_drawListBoxItem(), XonoticEntryList_drawListBoxItem(), XonoticGametypeList_drawListBoxItem(), XonoticGuideDescription_drawListBoxItem(), XonoticHUDSkinList_drawListBoxItem(), XonoticKeyBinder_drawListBoxItem(), XonoticLanguageList_drawListBoxItem(), XonoticMapList_doubleClickListBoxItem(), XonoticMapList_drawListBoxItem(), XonoticMapList_keyDown(), XonoticMapList_resizeNotify(), XonoticPicker_configureXonoticPicker(), XonoticPicker_keyDown(), XonoticPlayerList_drawListBoxItem(), XonoticPlayList_drawListBoxItem(), XonoticScreenshotList_drawListBoxItem(), XonoticScreenshotList_startScreenshot(), XonoticServerList_drawListBoxItem(), XonoticServerList_keyDown(), XonoticServerList_positionSortButton(), XonoticSkinList_drawListBoxItem(), XonoticSoundList_drawListBoxItem(), XonoticStatsList_drawListBoxItem(), XonoticTextBox_drawListBoxItem(), XonoticTopicList_drawListBoxItem(), and XonoticWeaponsList_drawListBoxItem().

◆ eY

const vector eY = '0 1 0'

Definition at line 45 of file vector.qh.

Referenced by BorderImage_recalcPositionWithText(), Button_draw(), checkColorCode(), crosshairpicker_crosshairToCell(), DebugText3d::DebugText3d_draw2d(), DemoConfirm_ListClick_Check_Gamestatus(), Dialog_addItemSimple(), Dialog_configureDialog(), Draw_ArcBeam(), draw_BorderPicture(), draw_ButtonPicture(), draw_Picture_Aligned(), draw_setMousePointer(), Draw_ShowNames(), draw_VertButtonPicture(), DrawAmmoItem(), XonoticRegisteredSettingsList::drawListBoxItem(), DrawNumIcon_expanding(), drawspritearrow(), GameTypeVote_DrawGameTypeItem(), hslimage_color(), HUD_CenterPrint(), HUD_Configure_DrawGrid(), HUD_Draw(), HUD_GetTableSize_BestItemAR(), HUD_HealthArmor(), HUD_Main(), HUD_MinigameMenu(), HUD_MinigameMenu_MouseInput(), HUD_Mod_CTF(), HUD_Mod_Keepaway(), HUD_Mod_KH(), HUD_Mod_NexBall(), HUD_Mod_Race(), HUD_Mod_TeamKeepaway(), HUD_Notify(), HUD_Panel_DrawHighlight(), HUD_Panel_DrawProgressBar(), HUD_Panel_Highlight(), HUD_Panel_HlBorder(), HUD_Physics(), HUD_Pickup(), HUD_QuickMenu(), HUD_Score(), HUD_Score_Rankings(), HUD_Timer(), HUD_Vote(), Image_updateAspect(), InputBox_draw(), ListBox_draw(), ListBox_drawListBoxItem(), ListBox_mouseRelease(), m_draw(), m_init_delayed(), MainWindow_configureMainWindow(), MainWindow_draw(), MapVote_GridVec(), MapVote_Init(), preMenuDraw(), preMenuInit(), Scoreboard_AccuracyStats_Draw(), Scoreboard_Draw(), Scoreboard_DrawHeader(), Scoreboard_DrawItem(), Scoreboard_ItemStats_Draw(), Scoreboard_MakeTable(), Scoreboard_MapStats_Draw(), Scoreboard_Rankings_Draw(), ServerList_Info_Click(), Slider_draw(), StrafeHUD_DrawAngleIndicatorArrow(), StrafeHUD_DrawAngleIndicatorLine(), StrafeHUD_DrawDirectionIndicator(), StrafeHUD_DrawGradient(), StrafeHUD_DrawSlickDetector(), StrafeHUD_DrawStrafeArrow(), sys_phys_simulate(), sys_phys_update(), UpdateConWidthHeight(), WarpZoneLib_MoveOutOfSolid(), XonoticCampaignList_drawListBoxItem(), XonoticCampaignList_resizeNotify(), XonoticCharmap_resizeNotify(), XonoticColorpickerString_loadCvars(), XonoticCreditsList_drawListBoxItem(), XonoticCvarList_drawListBoxItem(), XonoticDemoList_drawListBoxItem(), XonoticEntryList_drawListBoxItem(), XonoticGametypeList_drawListBoxItem(), XonoticHUDSkinList_drawListBoxItem(), XonoticKeyBinder_drawListBoxItem(), XonoticLanguageList_drawListBoxItem(), XonoticMapList_doubleClickListBoxItem(), XonoticMapList_drawListBoxItem(), XonoticMapList_keyDown(), XonoticMapList_resizeNotify(), XonoticPicker_configureXonoticPicker(), XonoticPicker_keyDown(), XonoticPlayerList_drawListBoxItem(), XonoticPlayerModelSelector_draw(), XonoticPlayList_drawListBoxItem(), XonoticScreenshotList_drawListBoxItem(), XonoticScreenshotList_startScreenshot(), XonoticServerList_drawListBoxItem(), XonoticServerList_keyDown(), XonoticServerList_positionSortButton(), XonoticSkinList_drawListBoxItem(), XonoticSoundList_drawListBoxItem(), XonoticStatsList_drawListBoxItem(), XonoticTopicList_drawListBoxItem(), and XonoticWeaponsList_drawListBoxItem().

◆ eZ