Ray-casting algorithm: Difference between revisions
Content deleted Content added
Line 164:
double cp = (s->x - my->x) ? coeff_ang(my, s) :
HUGE_VAL;
}</lang>
Line 179 ⟶ 178:
cross++;
}
return
}</lang>
|
Line 164:
double cp = (s->x - my->x) ? coeff_ang(my, s) :
HUGE_VAL;
}</lang>
Line 179 ⟶ 178:
cross++;
}
return
}</lang>
|