class MeshBuffer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int[] |
colorIndices |
private Color3f[] |
colors3 |
private Color4f[] |
colors4 |
private static int |
NAN_HASH |
private int[] |
normalIndices |
private Vector3f[] |
normals |
(package private) static int |
NOT_FOUND |
private int[] |
positionHashCodes |
private int[] |
positionIndices |
private Point3f[] |
positions |
private static int |
SIZE |
private int |
topIndex |
private int |
topPosition |
private int |
topVertex |
private CompressionStreamVertex[] |
vertices |
| Constructor and Description |
|---|
MeshBuffer() |
| Modifier and Type | Method and Description |
|---|---|
private static int |
flipOffset(int top,
int offset) |
(package private) Color3f |
getColor3(int meshReference) |
(package private) Color4f |
getColor4(int meshReference) |
(package private) int |
getColorIndex(int meshReference) |
(package private) int |
getMeshReference(int positionIndex) |
(package private) int |
getMeshReference(Point3f position) |
(package private) Vector3f |
getNormal(int meshReference) |
(package private) int |
getNormalIndex(int meshReference) |
(package private) Point3f |
getPosition(int meshReference) |
(package private) int |
getPositionIndex(int meshReference) |
(package private) CompressionStreamVertex |
getVertex(int meshReference) |
private static int |
nextTop(int top) |
(package private) void |
push(CompressionStreamVertex v) |
(package private) void |
push(int positionIndex,
int normalIndex) |
(package private) void |
push(int positionIndex,
int colorIndex,
int normalIndex) |
(package private) void |
push(Point3f position,
Color3f color,
Vector3f normal) |
(package private) void |
push(Point3f position,
Color4f color,
Vector3f normal) |
(package private) void |
push(Point3f position,
java.lang.Object color,
Vector3f normal) |
(package private) void |
push(Point3f position,
Vector3f normal) |
static final int NOT_FOUND
private static final int SIZE
private static final int NAN_HASH
private int topIndex
private int[] positionIndices
private int[] normalIndices
private int[] colorIndices
private int topPosition
private int[] positionHashCodes
private Point3f[] positions
private Vector3f[] normals
private Color3f[] colors3
private Color4f[] colors4
private int topVertex
private CompressionStreamVertex[] vertices
private static int nextTop(int top)
private static int flipOffset(int top,
int offset)
void push(CompressionStreamVertex v)
CompressionStreamVertex getVertex(int meshReference)
void push(int positionIndex,
int normalIndex)
void push(int positionIndex,
int colorIndex,
int normalIndex)
int getMeshReference(int positionIndex)
int getPositionIndex(int meshReference)
int getColorIndex(int meshReference)
int getNormalIndex(int meshReference)
int getMeshReference(Point3f position)
Point3f getPosition(int meshReference)
Color3f getColor3(int meshReference)
Color4f getColor4(int meshReference)
Vector3f getNormal(int meshReference)
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.