public class VertexData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<java.lang.Boolean> |
for_raycast |
java.util.ArrayList<java.lang.Integer> |
object_indices |
int[] |
point_data
To define start and end of the point data
|
float[] |
vertices |
Constructor and Description |
---|
VertexData() |
Modifier and Type | Method and Description |
---|---|
void |
addObject(float[] v,
float[] t,
float[] c,
int size,
boolean ray_cast) |
float[] |
getTextCoords() |
float[] |
getVertColors() |
float[] |
getVertices() |
int |
getVerticesSize() |
int |
getVerticesSizeForRaycast() |
void |
overwriteObject(float[] v,
float[] t,
float[] c,
int start,
int size,
boolean ray_cast) |
void |
print_vertexdata() |
void |
reorderObjects()
PROBLEM: reordering needs to change object properties as well...!
|
boolean |
was_modified() |
public float[] vertices
public java.util.ArrayList<java.lang.Integer> object_indices
public java.util.ArrayList<java.lang.Boolean> for_raycast
public int[] point_data
public void addObject(float[] v, float[] t, float[] c, int size, boolean ray_cast)
public void overwriteObject(float[] v, float[] t, float[] c, int start, int size, boolean ray_cast)
public void reorderObjects()
public boolean was_modified()
public float[] getVertices()
public float[] getTextCoords()
public float[] getVertColors()
public int getVerticesSize()
public int getVerticesSizeForRaycast()
public void print_vertexdata()