desc -> asc
@@ -33,7 +33,7 @@
};
- function descSort( a, b ) {
+ function ascSort( a, b ) {
return a.distance - b.distance;
@@ -101,7 +101,7 @@
intersectObject( object, this, intersects, recursive );
- intersects.sort( descSort );
+ intersects.sort( ascSort );
return intersects;
@@ -124,7 +124,7 @@
}