Package zombie.vehicles
Class PolygonalMap2.LiangBarsky
java.lang.Object
zombie.vehicles.PolygonalMap2.LiangBarsky
- Enclosing class:
- PolygonalMap2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
lineRectIntersect
(float x, float y, float dx, float dy, float left, float top, float right, float bottom) boolean
lineRectIntersect
(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)
-