| Modifier and Type | Method and Description |
|---|---|
static Vertex[] |
Vertex.toArray(float[] positions) |
static Vertex[] |
Vertex.toArray(float[] positions,
float[] texCoords) |
static Vertex[] |
Vertex.toArray(float[] positions,
float[] texCoords,
float[] normals) |
| Modifier and Type | Field and Description |
|---|---|
protected Vertex[] |
MeshData.vertices |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Mesh.calcNormals(Vertex[] vertices,
int[] indices) |
void |
MeshData.set(Vertex[] vertices,
int[] indices) |
void |
MeshData.set(Vertex[] vertices,
int[] indices,
int size) |
protected void |
Mesh.setVertices(Vertex[] vertices,
int[] indices) |
protected void |
Mesh.setVertices(Vertex[] vertices,
int[] indices,
boolean calcNormals) |
| Constructor and Description |
|---|
Mesh(Vertex[] vertices,
int[] indices) |
Mesh(Vertex[] vertices,
int[] indices,
boolean calcNormals) |
| Modifier and Type | Method and Description |
|---|---|
Vertex[] |
BoundingBox.toVertexArray() |
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
BoundingBox.fromVertices(Vertex[] vertices)
Calculates a BoundingBox from Vertex Array.
|
BoundingBox |
BoundingBox.fromVertices(Vertex[] vertices,
float padding)
Calculates a BoundingBox from Vertex Array.
|
| Modifier and Type | Method and Description |
|---|---|
static FloatBuffer |
UBuffer.create(Vertex[] vertices)
Creates a float buffer from
Vertex array;
compatible with LWJGL OpenGL binding. |
Copyright © 2014. All rights reserved.