Xonotic
|
Go to the source code of this file.
Macros | |
#define | FIXED_MAKE_VECTORS MAKE_VECTORS |
#define | fixedmakevectors makevectors |
#define | fixedvectoangles(a) (_fixedvectoangles = vectoangles(a), _fixedvectoangles.x *= -1, _fixedvectoangles) |
#define | fixedvectoangles2(a, b) (_fixedvectoangles2 = vectoangles2(a, b), _fixedvectoangles2.x *= -1, _fixedvectoangles2) |
#define | POSITIVE_PITCH_IS_DOWN 1 |
Functions | |
vector | AnglesTransform_Apply (vector transform, vector v) |
vector | AnglesTransform_ApplyToAngles (vector transform, vector v) |
vector | AnglesTransform_ApplyToVAngles (vector transform, vector v) |
vector | AnglesTransform_FromAngles (vector v) |
vector | AnglesTransform_FromVAngles (vector v) |
vector | AnglesTransform_Invert (vector transform) |
vector | AnglesTransform_LeftDivide (vector from_transform, vector to_transform) |
vector | AnglesTransform_Multiply (vector t1, vector t2) |
vector | AnglesTransform_Multiply_GetPostShift (vector sf0, vector st0, vector t1, vector st1) |
vector | AnglesTransform_Normalize (vector t, float minimize_roll) |
vector | AnglesTransform_PrePostShift_GetPostShift (vector sf, vector t, vector st) |
vector | AnglesTransform_RightDivide (vector to_transform, vector from_transform) |
vector | AnglesTransform_ToAngles (vector v) |
vector | AnglesTransform_ToVAngles (vector v) |
vector | AnglesTransform_TurnDirectionFR (vector transform) |
vector | AnglesTransform_TurnDirectionFU (vector transform) |
Variables | |
noref vector | _fixedvectoangles |
noref vector | _fixedvectoangles2 |
#define FIXED_MAKE_VECTORS MAKE_VECTORS |
Definition at line 9 of file anglestransform.qh.
Referenced by AnglesTransform_Apply(), AnglesTransform_Invert(), AnglesTransform_Multiply(), InterpolateOrigin_Note(), MUTATOR_HOOKFUNCTION(), and WarpZone_SetUp().
#define fixedmakevectors makevectors |
Definition at line 8 of file anglestransform.qh.
Referenced by FindConnectedComponent(), Portal_ApplyTransformToPlayerAngle(), Portal_FindSafeOrigin(), Portal_Remove(), Portal_Spawn(), Portal_SpawnInPortalAtTrace(), Portal_SpawnOutPortalAtTrace(), Portal_TeleportPlayer(), Portal_Think(), Portal_Touch(), skel_set_boneabs(), and skeleton_from_frames().
#define fixedvectoangles | ( | a | ) | (_fixedvectoangles = vectoangles(a), _fixedvectoangles.x *= -1, _fixedvectoangles) |
Definition at line 11 of file anglestransform.qh.
Referenced by Portal_ApplyTransformToPlayerAngle().
#define fixedvectoangles2 | ( | a, | |
b | |||
) | (_fixedvectoangles2 = vectoangles2(a, b), _fixedvectoangles2.x *= -1, _fixedvectoangles2) |
Definition at line 13 of file anglestransform.qh.
Referenced by AnglesTransform_Invert(), AnglesTransform_Multiply(), CheatCommand(), FindConnectedComponent(), InterpolateOrigin_Do(), InterpolateOrigin_Undo(), Portal_SpawnInPortalAtTrace(), Portal_SpawnOutPortalAtTrace(), skel_set_boneabs(), and skeleton_from_frames().
#define POSITIVE_PITCH_IS_DOWN 1 |
Definition at line 4 of file anglestransform.qh.
Definition at line 5 of file anglestransform.qc.
References FIXED_MAKE_VECTORS, and vector().
Referenced by AnglesTransform_Multiply(), AnglesTransform_Multiply_GetPostShift(), AnglesTransform_PrePostShift_GetPostShift(), Portal_ApplyTransformToPlayerAngle(), Portal_TeleportPlayer(), skel_set_boneabs(), WarpZone_TransformOrigin(), WarpZone_TransformVelocity(), WarpZone_UnTransformOrigin(), and WarpZone_UnTransformVelocity().
Definition at line 129 of file anglestransform.qc.
References AnglesTransform_Multiply(), and v.
Referenced by AnglesTransform_ToVAngles(), CheatCommand(), Portal_TeleportPlayer(), WarpZone_TransformAngles(), and WarpZone_UnTransformAngles().
Definition at line 136 of file anglestransform.qc.
References AnglesTransform_Multiply(), and v.
Referenced by AnglesTransform_ToVAngles(), WarpZone_TransformVAngles(), and WarpZone_UnTransformVAngles().
Definition at line 141 of file anglestransform.qc.
References v.
Referenced by AnglesTransform_ToVAngles(), FindConnectedComponent(), Projectile_Draw(), and vehicle_aimturret().
Definition at line 151 of file anglestransform.qc.
References v.
Referenced by AnglesTransform_ToVAngles(), and FindConnectedComponent().
Definition at line 21 of file anglestransform.qc.
References FIXED_MAKE_VECTORS, fixedvectoangles2, and vector().
Referenced by AnglesTransform_LeftDivide(), AnglesTransform_RightDivide(), skel_set_boneabs(), WarpZone_Accumulator_AddInverseTransform(), WarpZone_UnTransformAngles(), WarpZone_UnTransformOrigin(), WarpZone_UnTransformVAngles(), and WarpZone_UnTransformVelocity().
Definition at line 71 of file anglestransform.qc.
References AnglesTransform_Invert(), and AnglesTransform_Multiply().
Referenced by skel_set_boneabs(), and vehicle_aimturret().
Definition at line 12 of file anglestransform.qc.
References AnglesTransform_Apply(), FIXED_MAKE_VECTORS, fixedvectoangles2, and vector().
Referenced by AnglesTransform_ApplyToAngles(), AnglesTransform_ApplyToVAngles(), AnglesTransform_LeftDivide(), AnglesTransform_RightDivide(), AnglesTransform_ToVAngles(), Projectile_Draw(), skeleton_from_frames(), WarpZone_Accumulator_AddTransform(), and WarpZone_FindRadius_Recurse().
Definition at line 192 of file anglestransform.qc.
References AnglesTransform_Apply().
Referenced by WarpZone_Accumulator_AddTransform(), and WarpZone_FindRadius_Recurse().
Definition at line 76 of file anglestransform.qc.
References rint().
Referenced by vehicle_aimturret(), WarpZone_TransformVAngles(), and WarpZone_UnTransformVAngles().
Definition at line 199 of file anglestransform.qc.
References AnglesTransform_Apply().
Referenced by WarpZone_Accumulator_AddInverseTransform(), and WarpZone_SetUp().
Definition at line 66 of file anglestransform.qc.
References AnglesTransform_Invert(), and AnglesTransform_Multiply().
Referenced by Portal_Connect(), and WarpZone_SetUp().
Definition at line 146 of file anglestransform.qc.
References v.
Referenced by AnglesTransform_ToVAngles(), FindConnectedComponent(), Projectile_Draw(), and vehicle_aimturret().
Definition at line 155 of file anglestransform.qc.
References AnglesTransform_ApplyToAngles(), AnglesTransform_ApplyToVAngles(), AnglesTransform_FromAngles(), AnglesTransform_FromVAngles(), AnglesTransform_Multiply(), AnglesTransform_ToAngles(), AnglesTransform_ToVAngles(), v, and vector().
Referenced by AnglesTransform_ToVAngles(), and FindConnectedComponent().
Definition at line 39 of file anglestransform.qc.
Referenced by Portal_Connect(), and WarpZone_SetUp().
Definition at line 54 of file anglestransform.qc.
noref vector _fixedvectoangles |
Definition at line 10 of file anglestransform.qh.
noref vector _fixedvectoangles2 |
Definition at line 12 of file anglestransform.qh.