Searched refs:tmsinradius (Results 1 – 1 of 1) sorted by relevance
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/ |
H A D | p_map.c | 886 fixed_t tmsinradius = FixedMul(tmthing->radius, FINESINE(tmthing->angle>>ANGLETOFINESHIFT)); in PIT_CheckThing() local 889 check1 = P_PointOnLineSide(tmx - tmcosradius, tmy - tmsinradius, &junk); in PIT_CheckThing() 890 check2 = P_PointOnLineSide(tmx + tmcosradius, tmy + tmsinradius, &junk); in PIT_CheckThing() 891 …check3 = P_PointOnLineSide(tmx + tmthing->momx - tmcosradius, tmy + tmthing->momy - tmsinradius, &… in PIT_CheckThing() 892 …check4 = P_PointOnLineSide(tmx + tmthing->momx + tmcosradius, tmy + tmthing->momy + tmsinradius, &… in PIT_CheckThing() 909 fixed_t tmcosradius, tmsinradius; in PIT_CheckThing() local 914 tmsinradius = FixedMul(tmthing->radius, FINESINE(tmthing->angle>>ANGLETOFINESHIFT)); in PIT_CheckThing() 916 …>= (thing->radius + abs(tmcosradius)) || abs(thing->y - tmy) >= (thing->radius + abs(tmsinradius))) in PIT_CheckThing() 920 v1.y = tmy - tmsinradius; in PIT_CheckThing() 922 v2.y = tmy + tmsinradius; in PIT_CheckThing() [all …]
|