public class StandardFaceSorter extends java.lang.Object implements FaceSorter, java.io.Serializable
| Constructor and Description |
|---|
StandardFaceSorter()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Face> |
sort(java.util.List<Face> faces,
Point3D[] eyePts)
Returns a list of faces in the order that they should be painted.
|
public StandardFaceSorter()
public java.util.List<Face> sort(java.util.List<Face> faces, Point3D[] eyePts)
FaceSortersort in interface FaceSorterfaces - the faces before sorting (null not permitted).eyePts - the points in 3D space relative to the viewing position.faces argument).