| Modifier and Type | Field and Description |
|---|---|
protected BoundingBox |
bb |
protected MeshData |
data |
| Constructor and Description |
|---|
Mesh() |
Mesh(MeshData data) |
Mesh(Vertex[] vertices,
int[] indices) |
Mesh(Vertex[] vertices,
int[] indices,
boolean calcNormals) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calcNormals(Vertex[] vertices,
int[] indices) |
BoundingBox |
getBoundingBox() |
int |
getVertexCount() |
void |
setBoundingBox(BoundingBox boundingBox) |
protected void |
setData(MeshData data) |
void |
setMode(MeshData.Mode mode) |
protected void |
setVertices(Vertex[] vertices,
int[] indices) |
protected void |
setVertices(Vertex[] vertices,
int[] indices,
boolean calcNormals) |
void |
updateBounds() |
protected MeshData data
protected BoundingBox bb
public Mesh(MeshData data)
public Mesh(Vertex[] vertices, int[] indices)
public Mesh(Vertex[] vertices, int[] indices, boolean calcNormals)
public Mesh()
protected void setVertices(Vertex[] vertices, int[] indices)
protected void setVertices(Vertex[] vertices, int[] indices, boolean calcNormals)
public void setMode(MeshData.Mode mode)
public void updateBounds()
protected void calcNormals(Vertex[] vertices, int[] indices)
protected void setData(MeshData data)
public BoundingBox getBoundingBox()
public int getVertexCount()
public void setBoundingBox(BoundingBox boundingBox)
Copyright © 2014. All rights reserved.