| 402 | } |
| 403 | |
| 404 | inline bool intersecttriangle2(const vec &from, const vec &to, const vec &v0, const vec &v1, const vec &v2, vec *end, float *_t) |
| 405 | { |
| 406 | vec dir = to; dir.sub(from); // dir = to - from |
| 407 | return intersecttriangle(from, dir, v0, v1, v2, end, _t); |
| 408 | } |
| 409 | |
| 410 | inline bool intersectcorner(const vec &from, const vec &dir, int x, int y, int size, bool cdir, vec *end, float *_t) |
| 411 | { |
nothing calls this directly
no test coverage detected