/// <summary> /// Static comparison function used for sorting. /// </summary> static int CompareFunc(SGMouse a, SGMouse b) { if (a.mCam.depth < b.mCam.depth) { return(1); } if (a.mCam.depth > b.mCam.depth) { return(-1); } return(0); }
/// <summary> /// Static comparison function used for sorting. /// </summary> static int CompareFunc(SGMouse a, SGMouse b) { if (a.mCam.depth < b.mCam.depth) return 1; if (a.mCam.depth > b.mCam.depth) return -1; return 0; }