Searched refs:l1vect (Results 1 – 1 of 1) sorted by relevance
/dports/games/NBlood/NBlood-a1689a4/source/build/src/ |
H A D | engine.cpp | 2050 vec2_t const l1vect = wall[thewall[l1]].pos; in wallfront() local 2054 vec2_t d = { l1p2vect.x - l1vect.x, l1p2vect.y - l1vect.y }; in wallfront() 2055 int32_t t1 = dmulscale2(l2vect.x-l1vect.x, d.y, -d.x, l2vect.y-l1vect.y); //p1(l2) vs. l1 in wallfront() 2056 int32_t t2 = dmulscale2(l2p2vect.x-l1vect.x, d.y, -d.x, l2p2vect.y-l1vect.y); //p2(l2) vs. l1 in wallfront() 2062 return (dmulscale2(globalposx-l1vect.x, d.y, -d.x, globalposy-l1vect.y) ^ t1) >= 0; in wallfront() 2067 t1 = dmulscale2(l1vect.x-l2vect.x, d.y, -d.x, l1vect.y-l2vect.y); //p1(l1) vs. l2 in wallfront()
|