public static class FemElementRenderer.TriangulatedFacePatch extends java.lang.Object implements FemElementRenderer.WidgetFacePatch
Constructor and Description |
---|
TriangulatedFacePatch(int p0,
int numPoints,
int[] tris) |
Modifier and Type | Method and Description |
---|---|
void |
addFaces(RenderObject r)
Adds triangles for widget face
|
void |
addFaces(RenderObject r,
FeatureIndexArray faces)
adds triangles for widget face
|
void |
updateFaces(RenderObject r)
Updates positions and normals of patch vertices
|
public TriangulatedFacePatch(int p0, int numPoints, int[] tris)
public void addFaces(RenderObject r)
FemElementRenderer.WidgetFacePatch
addFaces
in interface FemElementRenderer.WidgetFacePatch
r
- render object to add topublic void addFaces(RenderObject r, FeatureIndexArray faces)
FemElementRenderer.WidgetFacePatch
addFaces
in interface FemElementRenderer.WidgetFacePatch
r
- render object to add tofaces
- face index list to add to (ignored if null)public void updateFaces(RenderObject r)
FemElementRenderer.WidgetFacePatch
updateFaces
in interface FemElementRenderer.WidgetFacePatch
r
- render object to update