PolygonRegion have two constructor but the one don't have body...
/** Creates a PolygonRegion by reading in the vertices and texture coordinates from the external file. TextureRegion can come
* from an atlas.
* @param region the region used for drawing
* @param file polygon shape definition file */
public PolygonRegion (TextureRegion region, FileHandle file) {
this.region = region;
if (file == null) throw new IllegalArgumentException("region cannot be null.");
loadPolygonDefinition(file);
}
/** Creates a PolygonRegin by triangulating the polygon coordinates in vertices and calculates uvs based on that. TextureRegion
* can come from an atlas.
* @param region the region used for drawing
* @param vertices contains 2D polygon coordinates in pixels relative to source region */
public PolygonRegion (TextureRegion region, float[] vertices) {
}
Original issue reported on code.google.com by haka8...@gmail.com on 24 Oct 2012 at 11:55
Original issue reported on code.google.com by
haka8...@gmail.com
on 24 Oct 2012 at 11:55