Let the comparator be reset without having to create
a whole new list. And some whitespace changes. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10777 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
1e3e14ba75
commit
c69756acbc
@ -65,6 +65,10 @@ public class GeometryList {
|
|||||||
this.comparator = comparator;
|
this.comparator = comparator;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setComparator(GeometryComparator comparator) {
|
||||||
|
this.comparator = comparator;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the GeometryComparator that this Geometry list uses
|
* Returns the GeometryComparator that this Geometry list uses
|
||||||
* for sorting.
|
* for sorting.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user