Home
last modified time | relevance | path

Searched refs:tmcosradius (Results 1 – 1 of 1) sorted by relevance

/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dp_map.c885 fixed_t tmcosradius = FixedMul(tmthing->radius, FINECOSINE(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
913 tmcosradius = FixedMul(tmthing->radius, FINECOSINE(tmthing->angle>>ANGLETOFINESHIFT)); in PIT_CheckThing()
916 …if (abs(thing->x - tmx) >= (thing->radius + abs(tmcosradius)) || abs(thing->y - tmy) >= (thing->ra… in PIT_CheckThing()
919 v1.x = tmx - tmcosradius; in PIT_CheckThing()
921 v2.x = tmx + tmcosradius; in PIT_CheckThing()
[all …]