Anonymous user
Ray-casting algorithm: Difference between revisions
→{{header|Java}}
(→{{header|Rust}}: cleanup) |
|||
Line 1,808:
P[1] += 0.0001;
if (P[1] > B[1] || P[1] < A[1] || P[0] >= max(A[0], B[0]))
return false;
|