forked from bedohswe/p3he
Fix rendering a bit.
This commit is contained in:
parent
181492cc68
commit
9121959b25
2
lines.py
2
lines.py
@ -13,7 +13,7 @@ def cLineIntersection(cA0, cA1, cB0, cB1):
|
|||||||
|
|
||||||
@jit
|
@jit
|
||||||
def Between(rA,rB,rN):
|
def Between(rA,rB,rN):
|
||||||
return (rA < rN and rN < rB) or (rB < rN and rN < rA)
|
return (rA <= rN and rN <= rB) or (rB <= rN and rN <= rA)
|
||||||
|
|
||||||
@jit
|
@jit
|
||||||
def cBetween(cA,cB,cN):
|
def cBetween(cA,cB,cN):
|
||||||
|
Loading…
Reference in New Issue
Block a user