public static class FemElementRenderer.QuadFacePatch extends java.lang.Object implements FemElementRenderer.WidgetFacePatch
Constructor and Description |
---|
QuadFacePatch(int p0,
int p1,
int p2,
int p3,
int nsegs) |
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 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