can this be done somehow?
if((a || b) == 0) return 1; return 0;
so its like...if a OR b equals zero, then...but it is not working for me.
C++ isn't that smart. You have to do each comparison manually.
bool Circle2::contains(Line2 l) { if((p1.distanceFrom(l.p1) <= r) || (p1.distanceFrom(l.p2) <= r)) return 1; return 0; }