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:157
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:151

Definition at line 165 of file vector.qh.

165#define ClipVelocity(in, normal, out, overbounce) \
166 (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 212 of file vector.qh.

◆ PITCH

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

Definition at line 86 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:79

Definition at line 84 of file vector.qh.

Referenced by HUD_Crosshair().

◆ ROLL

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

Definition at line 88 of file vector.qh.

Referenced by leanmodel_ofs().

◆ RPFLOAT

#define RPFLOAT ( a)
Value:
(a = rint(a / PFLOAT) * PFLOAT)
float rint(float f)
#define PFLOAT
Definition vector.qh:212

Definition at line 213 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:95

Definition at line 95 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(), M_Mage_Defend_Heal(), MapVote_Draw(), minigame_tile_pos(), monster_facing(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), nade_ammo_touch(), nade_heal_touch(), 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:94

Definition at line 96 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:146
v x
Definition ent_cs.qc:146

Definition at line 97 of file vector.qh.

◆ vec3

◆ VEC_NAN

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

Definition at line 102 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:36
noref vector _vmul_b
Definition vector.qh:36

Definition at line 37 of file vector.qh.

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

◆ YAW

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

Definition at line 87 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:122

Definition at line 123 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 79 of file vector.qh.

80{
81 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;
82}

References vector.

◆ get_corner_position()

ERASEABLE vector get_corner_position ( entity box,
int corner )

Definition at line 170 of file vector.qh.

171 {
172 switch (corner)
173 {
174 case 1: return box.absmin;
175 case 2: return vec3(box.absmax.x, box.absmin.y, box.absmin.z);
176 case 3: return vec3(box.absmin.x, box.absmax.y, box.absmin.z);
177 case 4: return vec3(box.absmin.x, box.absmin.y, box.absmax.z);
178 case 5: return vec3(box.absmax.x, box.absmax.y, box.absmin.z);
179 case 6: return vec3(box.absmin.x, box.absmax.y, box.absmax.z);
180 case 7: return vec3(box.absmax.x, box.absmin.y, box.absmax.z);
181 case 8: return box.absmax;
182 default: return '0 0 0';
183 }
184 }
#define vec3(_x, _y, _z)
Definition vector.qh:100

References entity(), vec3, and vector.

◆ is_all_nans()

ERASEABLE bool is_all_nans ( vector v)

Definition at line 105 of file vector.qh.

106{
107 return isnan(v.x) && isnan(v.y) && isnan(v.z);
108}
bool isnan(float e)
Definition mathlib.qc:21

References isnan(), and vector.

◆ NearestPointOnBoundingBox()

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

Definition at line 200 of file vector.qh.

201{
202 return vec3(
203 bound(mi.x, org.x, ma.x),
204 bound(mi.y, org.y, ma.y),
205 bound(mi.z, org.z, ma.z)
206 );
207}
float bound(float min, float value, float max)
vector org
Definition self.qh:96

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

Referenced by RadiusDamageForSource().

◆ NearestPointOnBox()

ERASEABLE vector NearestPointOnBox ( entity box,
vector org )

Definition at line 187 of file vector.qh.

188 {
189 vector mi = box.mins + box.origin;
190 vector ma = box.maxs + box.origin;
191
192 return vec3(
193 bound(mi.x, org.x, ma.x),
194 bound(mi.y, org.y, ma.y),
195 bound(mi.z, org.z, ma.z)
196 );
197 }
vector
Definition self.qh:96

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 130 of file vector.qh.

131{
132 ldir = normalize(ldir);
133 p = l0 - p;
134 // remove the component in line direction from p
135 return p - ((p * ldir) * ldir);
136}
vector normalize(vector v)

References normalize(), and vector.

Referenced by havocbot_movetogoal().

◆ randompos()

ERASEABLE vector randompos ( vector m1,
vector m2 )

Definition at line 48 of file vector.qh.

49{
50 vector v;
51 m2 -= m1;
52 v.x = m2.x * random() + m1.x;
53 v.y = m2.y * random() + m1.y;
54 v.z = m2.z * random() + m1.z;
55 return v;
56}
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 144 of file vector.qh.

145{
146 return dir - 2 * (dir * norm) * norm;
147}
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 111 of file vector.qh.

112{
113 if (a == 0)
114 return v;
115 if (a == M_PI)
116 return -v;
117
118 float a_sin = sin(a), a_cos = cos(a);
119 return vec2(v.x * a_cos + v.y * a_sin, -v.x * a_sin + v.y * a_cos);
120}
#define M_PI
pi
Definition mathlib.qh:112
float cos(float f)
float sin(float f)

References cos(), M_PI, 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 215 of file vector.qh.

216{
217 RPFLOAT(v.x);
218 RPFLOAT(v.y);
219 RPFLOAT(v.z);
220 return v;
221}
#define RPFLOAT(a)
Definition vector.qh:213

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 157 of file vector.qh.

158{
159 if (this.x > -eps && this.x < eps) this.x = 0;
160 if (this.y > -eps && this.y < eps) this.y = 0;
161 if (this.z > -eps && this.z < eps) this.z = 0;
162 return this;
163}
v z
Definition ent_cs.qc:146

References vector, x, y, and z.

◆ 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 151 of file vector.qh.

152{
153 return vel - (1 + bounce) * (vel * norm) * norm;
154}

References vector.

◆ vlen_maxnorm2d()

ERASEABLE float vlen_maxnorm2d ( vector v)

Definition at line 59 of file vector.qh.

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

References max(), and vector.

Referenced by HUD_Radar().

◆ vlen_minnorm2d()

ERASEABLE float vlen_minnorm2d ( vector v)

Definition at line 65 of file vector.qh.

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

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

Referenced by HUD_Radar().

◆ vrint()

ERASEABLE vector vrint ( vector v)

Definition at line 224 of file vector.qh.

225{
226 v.x = rint(v.x);
227 v.y = rint(v.y);
228 v.z = rint(v.z);
229 return v;
230}

References rint(), and vector.

Referenced by ctf_FlagSetup().

Variable Documentation

◆ _vec2

noref vector _vec2

Definition at line 94 of file vector.qh.

◆ _vec3

noref vector _vec3

Definition at line 99 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 36 of file vector.qh.

◆ _vmul_b

noref vector _vmul_b

Definition at line 36 of file vector.qh.

◆ _yinvert

noref vector _yinvert

Definition at line 122 of file vector.qh.

◆ eX

const vector eX = '1 0 0'

Definition at line 43 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(), HUD_Vote(), 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(), WarpZone_FixView(), 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 44 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(), WarpZone_FixView(), 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