List of usage examples for com.badlogic.gdx.math Polygon area
public float area()
From source file:com.flatfisk.gnomp.math.GeometryUtils.java
License:Apache License
/** * @param polygon the polygon, assumed to be simple * @return if the vertices are in clockwise order *//* w w w. ja v a 2 s . c o m*/ public static boolean areVerticesClockwise(Polygon polygon) { return polygon.area() < 0; }