final class MeshTempState
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int[] |
indexBuffer
A temporary int indexBuffer array
Length: nFaces * 3
|
(package private) short[] |
indexBufferShort
A temporary short indexBuffer array
Length: nFaces * 3
|
(package private) float[][] |
matrix
A temporary 3 by 3 float matrix used by BaseMesh to compute quat.
|
(package private) MeshVertex[] |
pool
A temporary MeshVertex array for all possible vertices.
|
(package private) MeshVertex[] |
pVertex
A temporary MeshVertex array
Length: nVerts
|
(package private) Quat4f |
quat
A temporary Quat4f used by BaseMesh to build quat.
|
(package private) int[] |
smFace
Temporary variables used by BaseMesh to compute TBN.
|
private static java.lang.ThreadLocal<MeshTempState> |
tempStateRef |
(package private) int[] |
triNormalIndex |
(package private) Vec3f[] |
triNormals |
(package private) int[] |
triPointIndex |
(package private) Vec3f[] |
triPoints |
(package private) int[] |
triTexCoordIndex |
(package private) Vec2f[] |
triTexCoords |
(package private) int[] |
triVerts |
(package private) Vec2f |
vec2f1
Temporary Vec2fs used by MeshUtil to fix tangent space.
|
(package private) Vec2f |
vec2f2 |
(package private) Vec3f |
vec3f1
Temporary Vec3fs used by MeshUtil and BaseMesh to compute/adjust normals.
|
(package private) Vec3f |
vec3f2 |
(package private) Vec3f |
vec3f3 |
(package private) Vec3f |
vec3f4 |
(package private) Vec3f |
vec3f5 |
(package private) Vec3f |
vec3f6 |
(package private) float[] |
vector
A temporary float array used by BaseMesh to compute quat.
|
(package private) float[] |
vertexBuffer
A temporary vertexBuffer array
Length: nNewVerts * VERTEX_SIZE
|
Modifier | Constructor and Description |
---|---|
private |
MeshTempState() |
Modifier and Type | Method and Description |
---|---|
(package private) static MeshTempState |
getInstance() |
final Vec3f vec3f1
final Vec3f vec3f2
final Vec3f vec3f3
final Vec3f vec3f4
final Vec3f vec3f5
final Vec3f vec3f6
final Vec2f vec2f1
final Vec2f vec2f2
final int[] smFace
final int[] triVerts
final Vec3f[] triPoints
final Vec2f[] triTexCoords
final Vec3f[] triNormals
final int[] triPointIndex
final int[] triNormalIndex
final int[] triTexCoordIndex
final float[][] matrix
final float[] vector
final Quat4f quat
MeshVertex[] pool
MeshVertex[] pVertex
int[] indexBuffer
short[] indexBufferShort
float[] vertexBuffer
private static final java.lang.ThreadLocal<MeshTempState> tempStateRef
static MeshTempState getInstance()