| Package | Description |
|---|---|
| org.achtern.AchternEngine.core.rendering.mesh | |
| org.achtern.AchternEngine.core.scenegraph.bounding | |
| org.achtern.AchternEngine.core.util |
| Modifier and Type | Field and Description |
|---|---|
protected Vertex[] |
MeshData.vertices |
| Modifier and Type | Method and Description |
|---|---|
Vertex[] |
MeshData.getVertices() |
| 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) |
void |
MeshData.setVertices(Vertex[] vertices) |
protected void |
Mesh.setVertices(Vertex[] vertices,
int[] indices) |
protected void |
Mesh.setVertices(Vertex[] vertices,
int[] indices,
boolean calcNormals) |
protected void |
Mesh.setVertices(Vertex[] vertices,
int[] indices,
boolean calcNormals,
boolean calcTangents) |
| 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 Vertex[] |
UVertex.toArray(float[] positions) |
static Vertex[] |
UVertex.toArray(float[] positions,
float[] texCoords) |
static Vertex[] |
UVertex.toArray(float[] positions,
float[] texCoords,
float[] normals) |
| Modifier and Type | Method and Description |
|---|---|
static void |
TangentGenerator.calculate(Vertex[] vertices,
int[] indices) |
static FloatBuffer |
UBuffer.create(Vertex[] vertices)
Creates a float buffer from
Vertex array;
compatible with LWJGL OpenGL binding. |
Copyright © 2015. All rights reserved.