Searched refs:closestaxis (Results 1 – 2 of 2) sorted by relevance
498 if (closestaxis == NULL) in P_TransferToNextMare()500 closestaxis = mo2; in P_TransferToNextMare()510 closestaxis = mo2; in P_TransferToNextMare()517 if (closestaxis == NULL) in P_TransferToNextMare()602 mobj_t *closestaxis; in P_TransferToAxis() local608 closestaxis = NULL; in P_TransferToAxis()626 if (closestaxis == NULL) in P_TransferToAxis()628 closestaxis = mo2; in P_TransferToAxis()637 closestaxis = mo2; in P_TransferToAxis()643 if (!closestaxis) in P_TransferToAxis()[all …]
6117 mobj_t *closestaxis = NULL; in P_GetClosestAxis() local6130 if (closestaxis == NULL) in P_GetClosestAxis()6132 closestaxis = mo2; in P_GetClosestAxis()6141 closestaxis = mo2; in P_GetClosestAxis()6148 if (closestaxis == NULL) in P_GetClosestAxis()6151 return closestaxis; in P_GetClosestAxis()6154 static void P_GimmeAxisXYPos(mobj_t *closestaxis, degenmobj_t *mobj) in P_GimmeAxisXYPos() argument6156 …const angle_t fa = R_PointToAngle2(closestaxis->x, closestaxis->y, mobj->x, mobj->y)>>ANGLETOFINES… in P_GimmeAxisXYPos()6158 mobj->x = closestaxis->x + FixedMul(FINECOSINE(fa),closestaxis->radius); in P_GimmeAxisXYPos()6159 mobj->y = closestaxis->y + FixedMul(FINESINE(fa),closestaxis->radius); in P_GimmeAxisXYPos()