Package zombie.worldMap
Class WorldMapGeometry
java.lang.Object
zombie.worldMap.WorldMapGeometry
public final class WorldMapGeometry
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorldMapGeometry.TrianglesPerZoom
static class
WorldMapGeometry.Type
-
Field Summary
Fields Modifier and Type Field Description int
m_maxX
int
m_maxY
int
m_minX
int
m_minY
java.util.ArrayList
m_points
float[]
m_triangles
java.util.ArrayList
m_trianglesPerZoom
WorldMapGeometry.Type
m_type
int
m_vboIndex1
int
m_vboIndex2
int
m_vboIndex3
int
m_vboIndex4
-
Constructor Summary
Constructors Constructor Description WorldMapGeometry()
-
Method Summary
Modifier and Type Method Description void
calculateBounds()
boolean
containsPoint(float float1, float float2)
void
dispose()
void
triangulate(double[] doubleArray)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
m_type
-
m_points
public final java.util.ArrayList m_points -
m_minX
public int m_minX -
m_minY
public int m_minY -
m_maxX
public int m_maxX -
m_maxY
public int m_maxY -
m_triangles
public float[] m_triangles -
m_trianglesPerZoom
public java.util.ArrayList m_trianglesPerZoom -
m_vboIndex1
public int m_vboIndex1 -
m_vboIndex2
public int m_vboIndex2 -
m_vboIndex3
public int m_vboIndex3 -
m_vboIndex4
public int m_vboIndex4
-
-
Constructor Details
-
WorldMapGeometry
public WorldMapGeometry()
-
-
Method Details
-
calculateBounds
public void calculateBounds() -
containsPoint
public boolean containsPoint(float float1, float float2) -
triangulate
public void triangulate(double[] doubleArray) -
dispose
public void dispose()
-