public class PolyhedraRenderer extends ShapeRenderer
Modifier and Type | Field and Description |
---|---|
private int |
drawEdges |
private boolean |
frontOnly |
private boolean |
isAll |
colix, exportType, g3d, mad, madBeg, madEnd, madMid, modelSet, myVisibilityFlag, shape, shapeID, viewer
Constructor and Description |
---|
PolyhedraRenderer() |
Modifier and Type | Method and Description |
---|---|
private void |
drawCylinderTriangle(int xA,
int yA,
int zA,
int xB,
int yB,
int zB,
int xC,
int yC,
int zC) |
private void |
drawFace(short normix,
javax.vecmath.Point3i A,
javax.vecmath.Point3i B,
javax.vecmath.Point3i C) |
private void |
fillFace(short normix,
javax.vecmath.Point3i A,
javax.vecmath.Point3i B,
javax.vecmath.Point3i C) |
protected void |
render() |
private javax.vecmath.Point3i[] |
render1(Polyhedra.Polyhedron p,
short colix,
javax.vecmath.Point3i[] screens) |
initRenderer, render, setViewerG3dShapeID
private int drawEdges
private boolean isAll
private boolean frontOnly
protected void render()
render
in class ShapeRenderer
private javax.vecmath.Point3i[] render1(Polyhedra.Polyhedron p, short colix, javax.vecmath.Point3i[] screens)
private void drawFace(short normix, javax.vecmath.Point3i A, javax.vecmath.Point3i B, javax.vecmath.Point3i C)
private void drawCylinderTriangle(int xA, int yA, int zA, int xB, int yB, int zB, int xC, int yC, int zC)
private void fillFace(short normix, javax.vecmath.Point3i A, javax.vecmath.Point3i B, javax.vecmath.Point3i C)