June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -9,7 +9,7 @@ public class RayCasting {
|
|||
if (P[1] == A[1] || P[1] == B[1])
|
||||
P[1] += 0.0001;
|
||||
|
||||
if (P[1] > B[1] || P[1] < A[1] || P[0] > max(A[0], B[0]))
|
||||
if (P[1] > B[1] || P[1] < A[1] || P[0] >= max(A[0], B[0]))
|
||||
return false;
|
||||
|
||||
if (P[0] < min(A[0], B[0]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue