Class LiangBarsky
java.lang.Object
zombie.pathfind.LiangBarsky
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlineRectIntersect(float x, float y, float dx, float dy, float left, float top, float right, float bottom) booleanlineRectIntersect(float x, float y, float dx, float dy, float left, float top, float right, float bottom, double[] t1t2)
-
Constructor Details
-
LiangBarsky
public LiangBarsky()
-
-
Method Details
-
lineRectIntersect
public boolean lineRectIntersect(float x, float y, float dx, float dy, float left, float top, float right, float bottom) -
lineRectIntersect
public boolean lineRectIntersect(float x, float y, float dx, float dy, float left, float top, float right, float bottom, double[] t1t2)
-