public class OpaqueComparator extends java.lang.Object implements GeometryComparator
Constructor and Description |
---|
OpaqueComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Geometry o1,
Geometry o2) |
float |
distanceToCam(Geometry spat) |
void |
setCamera(Camera cam)
Set the camera to use for sorting.
|
public void setCamera(Camera cam)
GeometryComparator
setCamera
in interface GeometryComparator
cam
- The camera to use for sortingpublic float distanceToCam(Geometry spat)