Class Clipper
java.lang.Object
zombie.vehicles.Clipper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAABB
(float x1, float y1, float x2, float y2) void
addAABBBevel
(float x1, float y1, float x2, float y2, float RADIUS) void
addLine
(float x1, float y1, float x2, float y2) void
addPath
(int numPoints, ByteBuffer points, boolean bClip) void
addPolygon
(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) void
clear()
void
clipAABB
(float x1, float y1, float x2, float y2) int
int
generatePolygons
(double delta) int
generatePolygons
(double double0, int int0) int
generatePolygons
(int var1, double var2, int var4) int
generateTriangulatePolygons
(int wx, int wy) int
getPolygon
(int index, ByteBuffer vertices) static void
init()
static void
n_init()
int
triangulate
(int index, ByteBuffer vertices)
-
Field Details
-
ctIntersection
public static final int ctIntersection- See Also:
-
ctUnion
public static final int ctUnion- See Also:
-
ctDifference
public static final int ctDifference- See Also:
-
ctXor
public static final int ctXor- See Also:
-
jtSquare
public static final int jtSquare- See Also:
-
jtRound
public static final int jtRound- See Also:
-
jtMiter
public static final int jtMiter- See Also:
-
-
Constructor Details
-
Clipper
public Clipper()
-
-
Method Details
-
init
public static void init() -
clear
public void clear() -
addPath
-
addLine
public void addLine(float x1, float y1, float x2, float y2) -
addAABB
public void addAABB(float x1, float y1, float x2, float y2) -
addAABBBevel
public void addAABBBevel(float x1, float y1, float x2, float y2, float RADIUS) -
addPolygon
public void addPolygon(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) -
clipAABB
public void clipAABB(float x1, float y1, float x2, float y2) -
generatePolygons
public int generatePolygons() -
generatePolygons
public int generatePolygons(int var1, double var2, int var4) -
generatePolygons
public int generatePolygons(double double0, int int0) -
generatePolygons
public int generatePolygons(double delta) -
getPolygon
-
generateTriangulatePolygons
public int generateTriangulatePolygons(int wx, int wy) -
triangulate
-
n_init
public static void n_init()
-